var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: how to get current date with no time
can any one help me to get only date from getdate()
I have used datepart etc but getting syntax error.
Thanks in advance
SELECT DATEADD(d,DATEDIFF(d,0,GETDATE()),0) AS today
It's about time Microsoft supports CURRENT_DATE to make such monsters redundant...
Originally Posted by r937
I second that!
Originally Posted by shammat
With kind regards . . . . . SQL Server 2000/2005/2012
Grabel's Law: 2 is not equal to 3 -- not even for very large values of 2.
Pat Phelan's Law: 2 very definitely CAN equal 3 -- in at least two programming languages