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 |
|
hspatil31
Posting Yak Master
182 Posts |
Posted - 2011-08-17 : 01:53:08
|
| Dear All,In my table i having following data, I want to delete record from table which digit start with 0 and 1 from column2.Can anybody please tell me query for this ?Column1 Column2 1 007 2 078 3 105 4 199 5 201 6 205Thanks and Regard'sHarish Patil |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2011-08-17 : 01:58:41
|
[code]DELETE yourtableWHERE LEFT(Column2, 1) in ('0', '1')[/code] KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
hspatil31
Posting Yak Master
182 Posts |
Posted - 2011-08-17 : 03:36:33
|
| Thnks, This one work for me. |
 |
|
|
|
|
|