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
Apr 19, 2011
SQL - Check if Table Exists
IF OBJECT_ID('db..mytable') IS NOT NULL
BEGIN
TRUNCATE TABLE mytable
END
No comments:
Post a Comment