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: )

185 reads

Blogs

Power Platform Quick Tips – Episode 01: Fixing Power BI Column Sorting

By

Check out this new series that I’ve started on Power Platform Quick Tips. This...

The curious case of CHAR(0)

By

Over the years I’ve seen quite a few strange things with SQL Server. This...

Transaction log Information gathering

By

Here are the different ways to know the tlog file related information sys.dm_db_log_stats –...

Read the latest Blogs

Forums

how can i see the last 100 select statements that were run by any user

By VoldemarG

how can i see the last 100 select statements that were run by any...

Dynamically execute SSIS package.

By ugh3012

I am trying to figure out how to dynamically execute SSIS package based on...

Metric CPU show 100% , but Query Performance Insight show only 60% same period

By ebooklub

Hi, I am investigation DTU spike for period specific period of time In my...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers