select cast(convert(varchar, getdate(), 108) as datetime) Note: Code 108 returns the time portion of a date in the format hh:mm:ss
Be the first to rate this post
Tags:
Development | SQL
Powered by BlogEngine.NET 1.4.5.0 Theme by Mads Kristensen
Andrew Jackson
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2008 Andrew K. Jackson