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

MySQL - Delete's and temp tables

Status
Not open for further replies.

Spijker

Programmer
Jan 9, 2001
10
0
0
NZ
I have a table which stores meeting times and want to remove the most recent double entries where they match the same time,date and place. I have created a temporarary table with the data that matches what I want to remove from the main table but when I run the DELETE queries it won't recognize the tmp tables existance in the query.

Below is the query in question.

DELETE FROM stfrmlink WHERE stfrmlink.ID = xtmp.ID;


rob.spijkerman@alliedtelesyn.co.nz

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top