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
User's Web-Based AOL Mail is sending spam to all his contacts
Exchange 2010 OWA Problem accessing Options
Windows 7 NAT
Query not inserting rows into table
Adding timestamp to outfile File
Removing Rootkit.Agent on Windows XP SP3 ComboFix log attached
Access 2007, form datasheet view, change display property of an element based on another element in the record
Install IIS with a vbs script.If supporting files needed pick from a predefined path.
Trouble with Menu Drop Down Form
I need to adapt VB script to run on SQL Server