devxlogo

Tip Bank

Finding Unique Data

Question: How would I change the following statement to yieldonly unique values? select * FROM WEBDBASE where ST = ‘#State#’ AND #SPECIALTY# = ‘x’; Answer: You can’t get unique values

Differences Between Join Types

Question: What are the differences between LEFT, RIGHT, INNER and OUTER JOINS? Answer: An INNER JOIN is the most common type: It combines all the data from the tables specified

Querying a List

Question: I’ve been trying to construct a query on the databaseto see if the value in a particular field matches a long list of correct answers. For example, I would

Enumerating instances

Question: I want to use many instances of a class in my form, but can’t seem to figure out an easy way to check on the status of all the

DBMS Advantages

Question: Our business is just starting to look at using a relational databasemanagement system. We are currently using computers, but the usershave their own copies of whatever data they need

Simulating Multiple Outer Joins

Question: I need to query a database with outer joins on more thanone table, and am finding that my database doesn’t support it.Is there any way to work around the

Selecting multiple rows

Question: I want to let the user select more than one row in a repeater so my application can act on all of them at one time? Answer: A repeater