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 Function If Exists

Posted on August 6, 2013October 26, 2015 By David Kittell
IF OBJECT_ID(N'dbo.RegexReplace') IS NOT NULL
    DROP FUNCTION dbo.RegexReplace
GO

Source: https://www.simple-talk.com/sql/t-sql-programming/tsql-regular-expression-workbench/

Originally Posted on August 6, 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

UNIX – Extract RedHat/CentOS/Fedora RPM File

Posted on April 21, 2016April 21, 2016

I love to find RPM files that someone has compiled so that I don’t have to do the manual work but when I find one at a questionable location or one I’m simply not familiar with it’s nice to know what is in it. Recently I did a search on…

Read More

Check Instance Of App

Posted on December 14, 2013October 26, 2015

Imports System.Diagnostics Private Sub CheckInstanceOfApp() Dim appProc() As Process Dim strModName, strProcName As String strModName = Process.GetCurrentProcess.MainModule.ModuleName strProcName = System.IO.Path.GetFileNameWithoutExtension(strModName) appProc = Process.GetProcessesByName(strProcName) If appProc.Length > 1 Then MessageBox.Show("There is an instance of this application running.", "<Application Name>") Application.Exit() Else ‘MessageBox.Show("There are no other instances running.", "<Application Name>") End If…

Read More

UNIX – Create New User & Add To Group

Posted on August 5, 2016

username="dkittell" usergroup="developers" useradd $username && passwd $username # Set initial password # Force user to change password once logged in chage -d 0 $username groupadd $usergroup usermod -aG $usergroup $username All information on this site is shared with the intention to help. Before any source code or program is ran…

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
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes