Miscellaneous

Technical Article

Pass several sets of parameters to run stored proc

  • Script

    This procedure will let you execute existing stored procedure with several sets of multiple parameters    like: exec _ParamSplit_SP 'ColorSP', "258,'RED';367,'BLUE';125,'GREEN'",";"    it will be the same as    exec ColorSP 258,'RED'    exec ColorSP 367,'BLUE'    exec ColorSP 125,'GREEN'Created for SQL 7

You rated this post out of 5. Change rating

2002-04-03

852 reads

Technical Article

spAuditPasswords

  • Script

This script is actually part of an article written about performing a simple password audit on SQL Server logins when you start to administor a new SQL Environment. The script will scan the sysxlogins table located in the master database for SQL Server logins with no passwords, passwords that are the same as the login […]

You rated this post out of 5. Change rating

2002-03-27

1,544 reads

Technical Article

Use DELETE On Many Tables With Foreign Keys

  • Script

When deleting data from many tables, foreign key constraints can force you to specifically order your DELETE commands. This can take tons of time, especially if you have many tables.  Here's a technique I use to delete data in the correct order during the restaging of test databases.It makes use of the system stored procedure […]

You rated this post out of 5. Change rating

2002-03-22

1,594 reads

Technical Article

Compare the structure & code of 2 databases

  • Script

We often make changes in the test databases. But failure in making even the smallest change in the production database may lead to unwanted situations.This utility compares 2 databases.Parameters to be passed   @DB1  Database 1 (SysName)  @DB2  Databse 2 (SysName)  @ShowDifferentOnly see later (Bit)       Parameters 1, 2 may include server name as  well. […]

You rated this post out of 5. Change rating

2002-03-22

504 reads

Blogs

SQL Training: Black Friday Deals Up to 75% Off

By

This Black Week, don't just get a discount—get ahead! Whether you're a total newbie...

When is the perfect moment to build a data strategy in a company?

By

The post When is the perfect moment to build a data strategy in a...

How to Run Databases on Kubernetes: An 8-Step Guide

By

In this step-by-step tutorial, learn how to run MySQL, PostgreSQL, MongoDB, and other stateful...

Read the latest Blogs

Forums

Learn Microsoft Fabric: A practical guide to performing data analytics in the era of artificial intelligence

By Site Owners

Comments posted to this topic are about the item Learn Microsoft Fabric: A practical...

Learn Microsoft Fabric: A practical guide to performing data analytics in the era of artificial intelligence

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Learn Microsoft Fabric: A practical...

Rebuild Index Job on a Large DB

By cooldude001

We have a db close to 3 tb and rebuilding/ reorganizing indexes weekly is...

Visit the forum

Question of the Day

Renaming a Database

If I want to rename the OldSales database to ArchiveSales, how can I do this? (choose 2)  

See possible answers