Function Used to Reformat Phone Numbers

Can use this to select , insert and update phone fields into a standard format. Select FormatPhone(phone_column) from table Update Table set phone_column=FormatPhone(phone_column)Where ...Insert Into Table ( column1, phone_primary ...) Values ( 'qwerty', FormatPhone(1455846677)And the like --

2007-01-25 (first published: )

427 reads

Query MSDB for Search String

TSQL:Procedure to Lookup JobsJack Donnell,jack@JackDonnell.com Have you ever kept altering the same query to look for different items in you database?I took a hint from MS with all the sp_help and other system stored procedures and made a two scripts this one to query for databases scheduled tasks or jobs as they are now called.Here […]

2002-06-16

432 reads

Proc to Query MSDB..SYSJOBS and SYSJOBSTEPS

TSQL:Procedure to Lookup JobsJack Donnell,jack@JackDonnell.com Have you ever kept altering the same query to look for different items in you database?I took a hint from MS with all the sp_help and other system stored procedures and made a two scripts this one to query for databases scheduled tasks or jobs as they are now called.The […]

4 (2)

2002-06-07

2,144 reads

Proc to Query Syscomments and Sysobjects

TSQL:Procedure to Query for Dependent ObjectsJack Donnell,jack@JackDonnell.com Have you ever kept altering the same query to look for different items in you database?I took a hint from MS with all the sp_help and other system stored procedures and made a two scripts this one to query for databases dependednt objects or references.I also created another […]

2002-06-07

641 reads

Blogs

Azure SQL Training

By

I thought being an Azure Data/Database blogger I would share some amazing content from...

Managing virtual machine drives on ESXi

By

Recently I migrated my home lab from a SuperMicro SYS-E300-8D to something a little...

Thinking About the 2021 PASS Summit

By

I know that we don’t yet know how the 2020 Summit will turn out,...

Read the latest Blogs

Forums

Career advancement in cloud

By Aatish Patel

I am a SQL server administrator with 5 years of pure DBA experience. I...

Security for 2FA

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Security for 2FA

Basic Git for DBAs: What's a Pull Request?

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Basic Git for DBAs: What's...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers