Microsoft
Software
Hardware
Network
Question : Change year in date column
I have sql 2008. My table name is tblRegistration and my column name is EntryTime. All the dates in a column on my table are wrong. They say 07/01/2011 and they should say 07/01/2010.
How can I safely change this?
Answer : Change year in date column
Use the following query, it 'll solve your problem..
1: 2: 3:
UPDATE tblRegistration SET EntryTime = '07/01/2010' WHERE EntryTime = '07/01/2011'
Random Solutions
Ruby's Page - Open speed
Get active workbook name C#
solution in SSMS
The Microsoft Office Access database engine cannot find a record in the table with key matching field(s)
backdoor.tidserv.l!nf virus
Setting Reporting Services data driven subscription Using Web Service
jquery click functions not getting attached to dynamic div elements (a href)
sysvol trying to replicate to non-existant Domain controllers
Group Policy - domain controllers
Java web service accesing error