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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete from a Table

Status
Not open for further replies.

pbcharlie

Technical User
Jan 16, 2002
55
How do I write a query that will delete account numbers from table two that are in table one? Thanks in advance
Charlie
 
Delete * from [TableTwo] Where AccountNumber In (Select AccountNumber From [TableOne]);

Good luck

[pipe]
Daniel Vlas
Systems Consultant
 
Thanks this has helped alot
Thanks in advance
Charlie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top