Click here to Skip to main content
15,896,481 members
Home / Discussions / Database
   

Database

 
GeneralRe: creating a bunch of tables from a central table Pin
Vagif Abilov10-Nov-02 6:03
professionalVagif Abilov10-Nov-02 6:03 
GeneralRe: creating a bunch of tables from a central table Pin
Like2Byte11-Nov-02 2:34
Like2Byte11-Nov-02 2:34 
GeneralDataSets and XML Pin
Karen8-Nov-02 6:31
Karen8-Nov-02 6:31 
GeneralRe: DataSets and XML Pin
Rickard Andersson2010-Nov-02 20:57
Rickard Andersson2010-Nov-02 20:57 
GeneralRe: access to a mysql-database Pin
Vasudevan Deepak Kumar9-Nov-02 0:19
Vasudevan Deepak Kumar9-Nov-02 0:19 
GeneralSerious and Dreaded OleDB Adapter DB2 Driver Crashing Problem Pin
Vasudevan Deepak Kumar7-Nov-02 20:00
Vasudevan Deepak Kumar7-Nov-02 20:00 
GeneralTrivial SQL (i think) Pin
alex.barylski7-Nov-02 11:33
alex.barylski7-Nov-02 11:33 
GeneralRe: Trivial SQL (i think) Pin
Paul Watson7-Nov-02 11:47
sitebuilderPaul Watson7-Nov-02 11:47 
Hockey wrote:
Is there anyway inside the SQL statement I can determine if an agency has no members...? This is what I need returned...agencies with no members...???

The in statement in SQL is brilliant. Basically in your case you need to do this: select * from agency where Not AgencyID in (select AgencyID from Clients)

That should return all agency rows which do not occur in clients.

in can be used many ways. For instance if you have a pre-defined list of values to check for you can do: select * from agency where Not AgencyID in (1, 2, 3, 4)

Paul Watson
Bluegrass
Cape Town, South Africa

Ray Cassick wrote:
Well I am not female, not gay and I am not Paul Watson
GeneralRe: Trivial SQL (i think) Pin
alex.barylski7-Nov-02 12:58
alex.barylski7-Nov-02 12:58 
GeneralRe: Trivial SQL (i think) Pin
alex.barylski7-Nov-02 13:10
alex.barylski7-Nov-02 13:10 
GeneralRe: Trivial SQL (i think) Pin
Paul Watson7-Nov-02 21:08
sitebuilderPaul Watson7-Nov-02 21:08 
GeneralRe: Trivial SQL (i think) Pin
markkuk8-Nov-02 2:08
markkuk8-Nov-02 2:08 
GeneralRe: Trivial SQL (i think) Pin
alex.barylski8-Nov-02 8:11
alex.barylski8-Nov-02 8:11 
GeneralSELECT ... FOR XML AUTO Pin
Alexandru Savescu6-Nov-02 23:42
Alexandru Savescu6-Nov-02 23:42 
GeneralSaving a recordset in an XML stream Pin
Alexandru Savescu5-Nov-02 23:33
Alexandru Savescu5-Nov-02 23:33 
GeneralRe: Saving a recordset in an XML stream Pin
Richard Deeming6-Nov-02 2:54
mveRichard Deeming6-Nov-02 2:54 
GeneralDatasets Pin
Scoop5-Nov-02 23:15
Scoop5-Nov-02 23:15 
GeneralRe: Datasets Pin
Alexandru Savescu5-Nov-02 23:37
Alexandru Savescu5-Nov-02 23:37 
GeneralRe: Datasets Pin
Paul Watson6-Nov-02 3:15
sitebuilderPaul Watson6-Nov-02 3:15 
GeneralRe: Datasets Pin
Scoop6-Nov-02 3:23
Scoop6-Nov-02 3:23 
GeneralRe: Datasets Pin
Paul Watson6-Nov-02 3:26
sitebuilderPaul Watson6-Nov-02 3:26 
Generalfeedback from stored proc Pin
SimonS5-Nov-02 22:11
SimonS5-Nov-02 22:11 
GeneralRe: feedback from stored proc Pin
Richard Deeming6-Nov-02 3:15
mveRichard Deeming6-Nov-02 3:15 
GeneralRe: feedback from stored proc Pin
SimonS6-Nov-02 18:58
SimonS6-Nov-02 18:58 
GeneralADO.NET Books Pin
Paul Selormey5-Nov-02 15:06
Paul Selormey5-Nov-02 15:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.