Mar 12, 2008 #1 equus2 Programmer Joined Mar 5, 2008 Messages 36 Location US Hi, DELETE FROM table1 tr JOIN table2 trs ON tr.BusinessDate = trs.BusinessDate error next to "tr" - what am i doing wrong?
Hi, DELETE FROM table1 tr JOIN table2 trs ON tr.BusinessDate = trs.BusinessDate error next to "tr" - what am i doing wrong?
Mar 12, 2008 #2 RiverGuy Programmer Joined Jul 18, 2002 Messages 5,011 Location US Try this: Code: DELETE tr FROM table1 tr JOIN table2 trs ON tr.BusinessDate = trs.BusinessDate Upvote 0 Downvote
Mar 12, 2008 #3 k01 MIS Joined Mar 12, 2008 Messages 17 Location JP It will work on only SQLServer DELETE FROM table1 FROM table2 WHERE table1.BusinessDate = table2.BusinessDate koichi http://aboutabi.blogspot.com/ Upvote 0 Downvote
It will work on only SQLServer DELETE FROM table1 FROM table2 WHERE table1.BusinessDate = table2.BusinessDate koichi http://aboutabi.blogspot.com/