Miscellaneous

Technical Article

Script to find a string in SP/Function/View SQL

  • Script

I mark my SQL with a 'Todo' symbol whenever I decide something needs work, but I don't have the time to do it right away. So I wrote this usp so that I can get a quick list of stored procedures, function and views that need some extra work.It also comes in handy whenever you […]

You rated this post out of 5. Change rating

2007-07-06 (first published: )

280 reads

Technical Article

Make a time value from a given float value

  • Script

Clients asked me to show a more detailed and longer text which doesn't have to be edited. So I came up with the following solution/function.This function returns a varchar time value with a description containing how many days, hours and minutes. For example 100.25 returns :'100:15( 4 Days, 4 Hours, 15 Minutes )'.I hope somebody […]

You rated this post out of 5. Change rating

2007-07-04 (first published: )

128 reads

Technical Article

Checking the REMOTE site of a database-link

  • Script

When gathering SQL server statistics on ALL our Active SQL servers the script was failing sometime when one of our servers was not reachable for one reason or another.This script is checking if the LINKED SERVER is up and running before executing the "gathering statistics" script for this particular server.

You rated this post out of 5. Change rating

2006-12-25 (first published: )

189 reads

SQLServerCentral Article

Preventing Identity Theft Using SQL Server

  • Article

Solving business problems is an interesting problem for most application developers. Usually the issues are handled in application code, but there are some places where SQL Server can be used to help. Yaroslav Pentsarskyy brings us a creative use of SQL Server functionality to prevent identity theft.

You rated this post out of 5. Change rating

2006-09-20

6,327 reads

Technical Article

Find Nth Occurrence of Character Function V3

  • Script

In the tradition of best practice & code improvement, a third iteration of a script that finds the Nth occurrence of a Target string within another string (Original author unknown, V2 author vextant).This version returns zero if an Nth occurrence is not found (similar to V1), but also provides the ability to search the string […]

You rated this post out of 5. Change rating

2007-06-29 (first published: )

440 reads

Technical Article

Enterprise Manager Configuration Import/Export

  • Script

For those that do not have SQL 2005 Management Studio, this utility reads from or writes to the SQL Enterprise Manager configuration. It can handle a Server Group hierarchy up to 5 levels deep. Usage instructions are included in the script.Run with cscript.exe.NOTE: Server registrations using SQL (not Windows) authentication write out the password in […]

You rated this post out of 5. Change rating

2006-09-13 (first published: )

221 reads

Blogs

AI Model Size, Parameters and Download

By

At SQL Saturday Boston 2025, I gave a presentation on local LLMs and there...

Expanding Your DBA Horizons: Installing PostgreSQL in a Home Lab

By

Are you diversifying your DBA skillset? My recent job search made one thing clear:...

Back in the EU

By

I flew to Amsterdam last night and hopefully by the time this publishes I’ll...

Read the latest Blogs

Forums

caught off guard by some greek lettering in a warehouse feed

By stan

Hi we run 2019 standard.   Our warehouse's ssis based etl is klunky but so...

Unlocking High-Concurrency Inserts in SQL Server with OPTIMIZE_FOR_SEQUENTIAL_KEY

By Chandan Shukla

Comments posted to this topic are about the item Unlocking High-Concurrency Inserts in SQL...

Vector Datatype

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Vector Datatype

Visit the forum

Question of the Day

Vector Datatype

The new Vector datatype in SQL Server 2025 is a binary type that has a few parameters. What parameters are required?

See possible answers