Hi
I am relatively new to MSSQL.... when i am trying to fetch the data from table using this query.
update ticket set escalation=activity where escalation like '2008%31'
escalation and activity are both of datetime data type
Values in escalation column
2008-01-30 06:46:27.000
2008-01-30 09:24:36.000
2008-01-31 09:41:12.000
2008-01-31 10:07:00.000
2008-01-31 12:04:30.000
2008-01-31 12:34:58.000
2008-01-31 12:52:29.000
But when i run this query it updates the 7 rows
update ticket set escalation=activity where escalation like '%2008%'
Why is this so.... i need to have more detailed like clause so thati update correct rows.
Appreciate any help.
Thanks