hi
I have table in database that have Time column with datatype time(7)
now I want put recent time in this column
for date I use GetDate() but for time what should I use?
Best Regards
Neda
Hi nedash,
Below is the query.
SELECT CONVERT(VARCHAR(7),GETDATE(),108) [Time]
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.