I wrote a stored procedure and created it through WinSQL, but accidently exited WinSQL before I had a chance to save it. Is there any way I can get the code I wrote or I am pretty much out of luck?
Building on the DATETIMEFROMPARTS, DATETIME2FROMPARTS offers similar functionality, but yields more precise DateTime2 data type, containing fractions of a second to a specified precision. Naturally, ...