DECLARE @foo DATETIME = GETDATE ()
SELECT CONVERT(VARCHAR(10), @foo, 101)
Tuesday, June 14, 2011
Subscribe to:
Post Comments (Atom)
Joe's Knowledge Base - a collection of various tips-n-tricks for SQL Server. Note: best effort to site sources where applicable, otherwise curated from BOL/MSDN or self-created.
No comments:
Post a Comment