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
Word 2002/xp: Error Message: "Run-time error '4248'; 'This command is not available because no document is open.'"
Setting msExchMailboxSecurityDescr
iptor with VB.NET
Error string in catch block?
How can I run my PC in safe mode?
error when calling php/xml file in browser
Having problems getting my VOIP setup working?
Exchange recovery
Column border style problem
This search script is presenting the option for Next 10 when there aren't any results. What do I need to add to not show when there aren't results?
troubles getting BETWEEN logic to work