Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple deletes in one query

Status
Not open for further replies.

almoes

Programmer
Jan 8, 2003
291
US
Is it possible to perform the following query?

Delete from PBX where site_FK='15' AND Delete from customerSite where site_FK='15' AND Delete from site where site_PK='15'

I get the following error: Incorrect syntax near the keyword 'Delete'.

Is it not possible to do it in one operation because there are table dependencies?

thanxs,
alej
 
impossible, in one delete stastment u can delete rows only from single table
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top