fwiest (fr**@fredwiest.com) writes:
My problem is that I have the date/time already in the table and I need to
do all the formating within the SQL statement.
Your question was about updating. And you cannot change the format of a
datetime column in SQL Server. A datetime value is always stored in a
binary form.
You can do some formattinig when you select the data. For instance to
get the date portion only:
SELECT convert(char(8), datetimecol, 112) FROM tbl
--
Erland Sommarskog, SQL Server MVP,
es****@sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp