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 |
inbs
Aged Yak Warrior
860 Posts |
Posted - 2014-09-30 : 06:37:45
|
i have this tableid name1 41 51 332 12 66 i want to delete where id=1 except id=1 and name =33i mean ,i want get this tableid name1 332 12 66 |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2014-09-30 : 07:05:39
|
delete from someTable where id = 1 and name <> 33Harsh Athalyehttp://in.linkedin.com/in/harshathalye/ |
|
|
mhorseman
Starting Member
44 Posts |
Posted - 2014-09-30 : 07:05:52
|
I thinkdelete table where id = 1 and name <> 33should do it.Mark |
|
|
|
|
|