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

Category: SQL

Trim Function

Posted on August 8, 2013October 26, 2015 By David Kittell

–FOR SQL SERVER 2000: –FOR SQL SERVER 2005: Source: http://blog.sqlauthority.com/2007/04/24/sql-server-trim-function-udf-trim/

Read more

Medicare Health Assessment Report

Posted on August 8, 2013October 26, 2015 By David Kittell
Read more

Latin1_General_CI_AS Error

Posted on August 8, 2013October 26, 2015 By David Kittell

Error: Cannot resolve the collation conflict between “Latin1_General_CI_AS” and “SQL_Latin1_General_CP1_CI_AS” in the equal to operation. When you run into this error simply add “COLLATE Latin1_General_CI_AS” after the column name(s) that you are selecting or comparing and it will work.

Read more

Insert Into Table From Another Table

Posted on August 7, 2013October 26, 2015 By David Kittell

If the two tables structure match you can do this command

Read more

Find First/Last Day Of Month For Given Date

Posted on August 7, 2013October 26, 2015 By David Kittell

Source: http://blog.sqlauthority.com/2007/05/13/sql-server-query-to-find-first-and-last-day-of-current-month/ http://blog.sqlauthority.com/2007/08/18/sql-server-find-last-day-of-any-month-current-previous-next/

Read more

Subscribed Web Alert

Posted on August 6, 2013October 26, 2015 By David Kittell

Will return you all the web alerts. The ID column represent the ID for the web alert Will return you the folder(s) where the web alert is assigned The column Value_number represents the ID column from subscriptions_tbl The column Object_ID represents the folder ID where the web alert is assigned…

Read more

Get User Details Function

Posted on August 6, 2013October 26, 2015 By David Kittell
Read more

Format US Phone

Posted on August 6, 2013October 26, 2015 By David Kittell

Worst case scenario, for when you do not have the ability to do Regex replace. I have modified the code from the source link below to account for incorrect/invalid phone numbers. The original code will display NULL if the phone number is not valid where my edit will show the…

Read more

Regex Match

Posted on August 6, 2013October 26, 2015 By David Kittell

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

Read more

Regex Replace

Posted on August 6, 2013October 26, 2015 By David Kittell

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

Read more
  • Previous
  • 1
  • …
  • 12
  • 13
  • 14
  • …
  • 18
  • Next

Code

Top Posts & Pages

  • Bleaching Wool using Hydrogen Peroxide
  • Front Page
  • PowerShell - Get Text Encoding Type
  • PowerShell - IPv4 Range
  • Open On Screen Keyboard (OSK)

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

  • Bleaching Wool using Hydrogen Peroxide
  • PowerShell - Get Text Encoding Type
  • PowerShell - IPv4 Range
  • Open On Screen Keyboard (OSK)
  • PowerShell - Install .NET 4.5.2
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes