• Interests: Music, biking, travel, movies

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

Welcome to 3Cloud …

By

A little over a month ago, Pragmatic Works Consulting was a part of a...

Daily Coping 23 Oct 2020

By

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

One Thousand SQL Saturdays (*ish)

By

This weekend is SQL Saturday #1000, running virtually from Oregon. It’s a good schedule,...

Read the latest Blogs

Forums

How to encode the following dynamical SQL scripts

By 892717952

I use one table (call first table) field's value to update another another table...

SQL Server Phone Home

By Steve Jones - SSC Editor

Comments posted to this topic are about the item SQL Server Phone Home

A Strange Comparison

By Steve Jones - SSC Editor

Comments posted to this topic are about the item A Strange Comparison

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers