I want to print GETDATE() in SQL Server 2008, I need the time with milliseconds (this is for debugging purpose - to find sp\'s execution time )
I find this Difference >
these 2 are the same:
Print CAST(GETDATE() as Datetime2 (3) ) PRINT (CONVERT( VARCHAR(24), GETDATE(), 121))