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

Tag: MSSQL

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

How To: MS SQL Empty Database Log File

July 15, 2012 Steve Hardie

You will often find your database log file (.ldf) growing to a very large size, often larger than the databasie…

Continue Reading →

Posted in: Microsoft Filed under: 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

How To: Move MS SQL Database to a New Location

July 20, 2011 Steve Hardie

This article describes how to change the location of the data files and of the log files for any Microsoft…

Continue Reading →

Posted in: How To 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

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