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
Getting IIS7 to Show Friendly Error Messages in ASP
C#, general purpose logging
Screen Printing / Art Department Resource Scheduling and Organization
which technology
msoutlook 2007 data file do not compress
how to add decimal place in formula in seagate crystal report
DOS Batch Turnkey system for Win95
Ajax Maskededitextender remove mask on postback
Advice on protecting a DB.php File
Word press choosing the last picture for my article