Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
nhatto
Starting Member
2 Posts |
Posted - 2009-11-11 : 16:08:23
|
| HelloI have Two Tables ( Table A and Table B)Table A has one field : emailTable B has three Fields : First name, Last name , emailI want to check if the email in Table B is found in Table A, And if it is , then I want to delete the row ( First name, Last name , email ) from Table B that has that email.any help is really appreciated and thank you in advance! |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2009-11-11 : 16:11:46
|
delete bfrom tableB as bjoin tableA as a on a.email=b.email No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
|
|
|