I use this blog to record programming notes from both work and personal projects. I don't put everything I do on here but when I write a handy script or figure something out that I don't want to forget for next time, I add it to this blog. Feel free to use this blog in your own projects.
Test Menu
Commentary
Deals
Coupons
May 4, 2011
SQL - Check if a Temp Table Exists
IF OBJECT_ID('tempdb..#tblRawData') IS NOT NULL
BEGIN
TRUNCATE TABLE #tblRawData
END
No comments:
Post a Comment