Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Drop Table If Exists

Posted on March 19, 2013October 26, 2015 By David Kittell
IF OBJECT_ID('HLM_holdkey', 'U') IS NOT NULL DROP TABLE HLM_holdkey
Originally Posted on March 19, 2013
Last Updated on October 26, 2015
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code MSSQL

Post navigation

Previous post
Next post

Related Posts

Mac OSX Terminal – Format Disk

Posted on June 11, 2019June 11, 2019

This process is very helpful to format a disk that has multiple partitions on it like a Raspberry Pi SD Card. This script can be updated to allow a different type of format (JHFS+ instead of FAT32) but for now it serves my purpose. #!/bin/sh # FormatSDCard.sh # # #…

Read More

Relative Date

Posted on February 27, 2013October 26, 2015

public static string RelativeDate(DateTime theDate) { Dictionary<long, string> thresholds = new Dictionary<long, string>(); int minute = 60; int hour = 60 * minute; int day = 24 * hour; thresholds.Add(60, "{0} seconds ago"); thresholds.Add(minute * 2, "a minute ago"); thresholds.Add(45 * minute, "{0} minutes ago"); thresholds.Add(120 * minute, "an hour…

Read More

Make textfield only accept numberic values

Posted on July 3, 2013October 26, 2015

$(document).ready(function() { $(".numbersonly").keyup(function (event) { var value = jQuery(this).val(); value = value.replace(/[^0-9]+/g, ”); jQuery(this).val(value); }); }); Originally Posted on July 3, 2013Last Updated on October 26, 2015 All information on this site is shared with the intention to help. Before any source code or program is ran on a production…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes