Skip to content
SteveHardie.com Logo
Steve Hardie
Its Me. Online.
  • Home
  • About
  • Categories
    • Aviation
    • How To
    • Microsoft
    • Programming

Category: Other

tSQL: Drop Temp Table if Exists

February 26, 2014 Steve Hardie

This article describes how to check if a temporary table exists before you delete it. IF OBJECT_ID(‘tempdb..#tmpTable’) IS NOT NULL…

Continue Reading →

Posted in: Other Filed under: How To, MSSQL, SQL, T-SQL, ts

How To: MS SQL Reseed or Reset Identity Column

January 20, 2013 Steve Hardie

DBCC CHECKIDENT can reseed (reset) the identity value of the table. For example, YourTable has 25 rows with 25 as…

Continue Reading →

Posted in: Other Filed under: How To, microsoft, MSSQL, SQL, T-SQL

SQL 2008: Truncate or Srink a large Log File

November 23, 2011 Steve Hardie

I had a problem with a SQL Server 2008 database that had a log file in excess of 90gb, when…

Continue Reading →

Posted in: How To, Other Filed under: How To, MSSQL, SQL, T-SQL

MS SQL: If Statment within Select

June 17, 2010 Steve Hardie

When creating a SELECT query, sometimes you may want to display a dynamic field with a different value depending on…

Continue Reading →

Posted in: Other Filed under: MSSQL, SQL, T-SQL

VBScript: Sleep

March 10, 2010 Steve Hardie

VBScript does not implicity allow the Sleep command that you can use in the VB Programming language, to force the…

Continue Reading →

Posted in: Other Filed under: VBScript

Search

Categories

  • .NET
  • Aviation
  • Cisco
  • Cyber Security
  • Data
  • Exchange
  • Featured Articles
  • How To
  • Intune
  • JavaScript
  • Microsoft
  • Other
  • Powershell
  • Programming
  • Uncategorized

Tags

.NET Active Directory Asc ASCII ASP.NET Asterisk Aviation Chr Cisco Data E-Mail exchange File Size fromCharCode How To HP iinet ISO ISO 639 JavaScript jquery Language Little Bay microsoft Milroy Ave MSA 2012fc MSSQL Network Outlook Photoshop power shell RegEx SBS 2011 server 2008 SQL T-SQL Time Lapse troubleshoot Troubleshooting VB.NET VFR Flight Video VPN windows win xp
Copyright © 2025 Steve Hardie