childrenfirst
Technical User
Hi,
I have a table and every row of record has a column called ImportDate for timestamp in format like 2006-12-08 15:47:27.717.
I created a query to convert timestamp into short date, but did not get the result I wanted. My query:
SELECT RecordID, SelectDate = (CONVERT(varchar,SelectDate,101)
FROM Records
I would like to convert the timestamp to 12/8/2006 instead of 12/08/2006.
Any advice will be greatly appreciated!!
I have a table and every row of record has a column called ImportDate for timestamp in format like 2006-12-08 15:47:27.717.
I created a query to convert timestamp into short date, but did not get the result I wanted. My query:
SELECT RecordID, SelectDate = (CONVERT(varchar,SelectDate,101)
FROM Records
I would like to convert the timestamp to 12/8/2006 instead of 12/08/2006.
Any advice will be greatly appreciated!!