Script to return datetime as just date

You can return the date as a string (varchar) in whatever date format you like by adding a 'style' to the CONVERT statement. Exmaples of style values are (two left hand columns):1 101 USA mm/dd/yy 2 102 ANSI yy.mm.dd 3 103 British/French dd/mm/yy 4 104 German dd.mm.yy 5 105 Italian dd-mm-yy 6 106 - dd […]

3.33 (3)

2005-02-18 (first published: )

186 reads

Blogs

VMworld 2020 – Top 10 Database Sessions (Part 2)

By

Whether you are a SQL Server Database Administrator, Infrastructure Architect, or any other member...

Daily Coping 25 Sep 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

VMworld 2020 – Top 10 Database Sessions (Part 1)

By

Whether you are a SQL Server Database Administrator, Infrastructure Architect, or any other member...

Read the latest Blogs

Forums

Stored Procedure Performance Woes... How to get around CURSORS for html gen.

By scarr030

Hi everyone, Working with a stored procedure that is used in an application of...

Any guides for sizing Azure managed instances.

By Sliverlight

Hi All, Has anyone got any tips for sizing a move from VM running...

How to check if NextDay is Holiday (exclude Saturday and Sunday)?

By SQL Server

Hi: We maintain a calendar table with these columns. We have a process which...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers