Click here to Skip to main content
15,917,177 members
Home / Discussions / Database
   

Database

 
GeneralRe: database query Pin
Blue_Boy1-Feb-09 23:11
Blue_Boy1-Feb-09 23:11 
QuestionSQL Query help needed please Pin
munklefish1-Feb-09 0:42
munklefish1-Feb-09 0:42 
AnswerRe: SQL Query help needed please Pin
Wendelius1-Feb-09 7:05
mentorWendelius1-Feb-09 7:05 
Questiondelete query in sql Pin
billcodes1-Feb-09 0:01
billcodes1-Feb-09 0:01 
AnswerRe: delete query in sql Pin
Eddy Vluggen1-Feb-09 0:38
professionalEddy Vluggen1-Feb-09 0:38 
GeneralRe: delete query in sql Pin
Rob Graham1-Feb-09 5:50
Rob Graham1-Feb-09 5:50 
GeneralRe: delete query in sql Pin
Eddy Vluggen1-Feb-09 7:07
professionalEddy Vluggen1-Feb-09 7:07 
AnswerRe: delete query in sql Pin
Rob Graham1-Feb-09 5:47
Rob Graham1-Feb-09 5:47 
If the tables (and the desired rows) are related by some common key (a primary key/foreign key relationship would be ideal) the you could delete the rows as a join on the two tables) :

delete from TableA inner join TableB on TableA.fielda1 = TableB.fieldB3

Alternatively, if it is SQL server, you could create a trigger on TableA that deleted rows from tableB basded on what was in the Deleted psuedo table at the time of the deletion from TableA.
GeneralRe: delete query in sql Pin
Wendelius1-Feb-09 8:27
mentorWendelius1-Feb-09 8:27 
QuestionOutputDebugString / Trace in SQL Pin
Green Fuze31-Jan-09 10:31
Green Fuze31-Jan-09 10:31 
AnswerRe: OutputDebugString / Trace in SQL Pin
Wendelius31-Jan-09 10:36
mentorWendelius31-Jan-09 10:36 
GeneralRe: OutputDebugString / Trace in SQL Pin
Green Fuze31-Jan-09 10:40
Green Fuze31-Jan-09 10:40 
GeneralRe: OutputDebugString / Trace in SQL Pin
Wendelius31-Jan-09 10:51
mentorWendelius31-Jan-09 10:51 
GeneralRe: OutputDebugString / Trace in SQL Pin
Green Fuze31-Jan-09 10:58
Green Fuze31-Jan-09 10:58 
GeneralRe: OutputDebugString / Trace in SQL [modified] Pin
Wendelius31-Jan-09 11:12
mentorWendelius31-Jan-09 11:12 
GeneralRe: OutputDebugString / Trace in SQL Pin
Green Fuze31-Jan-09 21:43
Green Fuze31-Jan-09 21:43 
GeneralRe: OutputDebugString / Trace in SQL Pin
Wendelius1-Feb-09 7:05
mentorWendelius1-Feb-09 7:05 
GeneralRe: OutputDebugString / Trace in SQL Pin
Mycroft Holmes1-Feb-09 14:23
professionalMycroft Holmes1-Feb-09 14:23 
GeneralRe: OutputDebugString / Trace in SQL Pin
Wendelius1-Feb-09 18:11
mentorWendelius1-Feb-09 18:11 
GeneralRe: OutputDebugString / Trace in SQL Pin
Mycroft Holmes1-Feb-09 18:14
professionalMycroft Holmes1-Feb-09 18:14 
GeneralRe: OutputDebugString / Trace in SQL Pin
Wendelius1-Feb-09 18:36
mentorWendelius1-Feb-09 18:36 
Questionspeed up read and write on access table with ado [modified] Pin
sal2131-Jan-09 7:39
sal2131-Jan-09 7:39 
AnswerRe: speed up read and write on access table with ado Pin
Wendelius31-Jan-09 8:15
mentorWendelius31-Jan-09 8:15 
AnswerRe: speed up read and write on access table with ado Pin
Rob Graham1-Feb-09 5:55
Rob Graham1-Feb-09 5:55 
QuestionReport Builder - Reporting Services 2005 Pin
cbe_pav31-Jan-09 2:03
cbe_pav31-Jan-09 2:03 

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.