Check for Temp Table Existence in SQL Server

IF OBJECT_ID(‘tempdb..#sometable’) IS NOT NULL
DROP TABLE #sometable

Advertisements

Change Your Windows Password from the Command Line

NET USER (username) * /domain

You’ll be prompted for the new password twice.