Click here to Skip to main content
15,899,126 members
Home / Discussions / Database
   

Database

 
AnswerRe: Which DB to use? Pin
Daniel Turini10-Nov-02 22:17
Daniel Turini10-Nov-02 22:17 
GeneralRe: Which DB to use? Pin
johnb10-Nov-02 22:27
johnb10-Nov-02 22:27 
GeneralRe: Which DB to use? Pin
Daniel Turini11-Nov-02 0:24
Daniel Turini11-Nov-02 0:24 
GeneralRe: Which DB to use? Pin
johnb11-Nov-02 0:36
johnb11-Nov-02 0:36 
AnswerRe: Which DB to use? Pin
Christian Graus11-Nov-02 0:29
protectorChristian Graus11-Nov-02 0:29 
GeneralRe: Which DB to use? Pin
johnb11-Nov-02 0:37
johnb11-Nov-02 0:37 
GeneralRelationship problem Pin
leppie10-Nov-02 4:02
leppie10-Nov-02 4:02 
GeneralRe: Relationship problem Pin
Daniel Turini10-Nov-02 22:26
Daniel Turini10-Nov-02 22:26 
You really should read my article: SQL Server DO's and DONT's[^] Wink | ;)

But for the "phantom" child rows, if the tables are not too big (this is not a high performance solution), you can run a simple DELETE:

[I'm assuming a master table and a detail table and ID as the primary keys on the tables.]
DELETE detail
WHERE ID not IN (SELECT ID from master)


lazy isn't my middle name.. its my first.. people just keep calling me Mel cause that's what they put on my drivers license. - Mel Feik
Generalcreating a bunch of tables from a central table Pin
Like2Byte8-Nov-02 10:08
Like2Byte8-Nov-02 10:08 
GeneralRe: creating a bunch of tables from a central table Pin
Pyt8-Nov-02 10:17
Pyt8-Nov-02 10:17 
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 
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 

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.