I want to delete rows from multiple tables, i written the code as delete t1.*,t2.* from t1 inner join t2 on t1.id=t2.id where t1.id='12' ,
it gives an error as "incorrect syntax near *"
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
rasul mohPosted Nov 24, 2012, 3:39 AM
DELETE FROM tablename
WHERE columnname='name'
And go this website http://www.w3schools.com/sql/sql_delete.asp
pls tick correct answer and liked
Shankar MPosted Nov 24, 2012, 3:06 AM
statement to delete rows from their tables.
Thanks,
Shankar