Date Only

This is a follow-on to info's script to strip the time portion of a datetime or smalldatetime, leaving only the date.  I found info's script interesting!  When I had to do this I converted the date to varchar and back again instead of to float.  Seems to work fine for me.

2003-04-03

112 reads

Blogs

Last Weeks Reading (2019-05-26)

By

It was tremendously extensive week for me (a week ago) when I spent time...

Migrating SSIS to Azure – Slidedeck (Techorama 2019)

By

Techorama 2019 is over and it was a blast, as usual. Neatly organised, great...

Containers: Create a Custom Container

By

Creating a custom container is where things get truly exciting. There’s actually a ton...

Read the latest Blogs

Forums

The Change Failure Rate

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Change Failure Rate

Transforming rows into columns

By rkarr7

Hi Everyone, I have a table with the structure as attached in the Table...

Reduce SQL Filestream limit

By lidds

I want to save images into an sql database, and in my situation the...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers