Maintenance and Management

Technical Article

Changing the Owner of a Single DTS Package

  • Script

This is not an original script - but one I modified from an article by Darren Green on databasejournal.com (02/21/2000).  His original script changed the owner of all DTS packages owned by @old_owner to be owned by @new_owner.  This script will change the owner of the most recent version of a specific DTS package (@p_name) […]

You rated this post out of 5. Change rating

2002-10-29

493 reads

Technical Article

Set all databses to dbo.

  • Script

I got this script from this site and it works fantastic. I would just like to give an update to this script. All credit should go to the person that published this script on this site not me. I would just like to point out a few things. If you want to schedule this as […]

You rated this post out of 5. Change rating

2002-10-18

414 reads

Technical Article

sp_checksqlversion

  • Script

How many times have you seen @@version return a number but failed to interpret what service pack it is? Although SQL 2000 gives a gift (SERVERPROPERTY) of querying a readable value, my script will remedy the puzzle and show more parameters such as CPU speed, memory, windows version, and installation date. The limitations are:1. MSDE […]

You rated this post out of 5. Change rating

2002-10-16

448 reads

Technical Article

Linked SQL Servers,  databases, and users Report

  • Script

Fixed user protion of the script. Sorry had the test script mixed with prod. I was asked to create a report listing all of our SQL Servers, and the databases on them. I was also asked to list everyone that has access to each database and whether it was a standard, windows or windows group […]

You rated this post out of 5. Change rating

2002-10-15

1,049 reads

Technical Article

Get DB Table Details Quickly

  • Script

Get All the Table Details in a Database in a Second By Running sp_table_info. This procedure will give the No. of row , reserved space , data space , index space and Unused space. Compile the Procedure in Master Database and access it from any other database. We can use it for a single table […]

You rated this post out of 5. Change rating

2002-10-08

491 reads

Technical Article

Database Identity property resetter

  • Script

After going through development and test cycles it can be laborious to have to go and reset identity properties on tables (Yawn!!) So I wrote a script to do it. It has two parameters database name and identity start value. It basically checks the identity value with the number of rows in the table. if […]

You rated this post out of 5. Change rating

2002-10-06

318 reads

Blogs

Using Flyway with Feature Flags

By

There is a nice article at Harness.io on their use of feature flags and...

Microsoft Build event announcements on Fabric

By

There were a number of Microsoft Fabric announcements at Microsoft Build yesterday that I wanted to...

6 Can’t-Miss Basic SQL Courses to Learn in 2024: Your Fast Track to Data Mastery

By

Ready to dive into the world of SQL? Whether you're dreaming of a lucrative...

Read the latest Blogs

Forums

Monitoring if something is deleted in DB

By Martass

Hello, I have long-term task, which came one year ago, and just now I...

LOGON Trigger Count

By Steve Jones - SSC Editor

Comments posted to this topic are about the item LOGON Trigger Count

Invisible Downtime

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Invisible Downtime

Visit the forum

Question of the Day

LOGON Trigger Count

I have the need in SQL Server 2022 to create a complex set of checks for logins. I want to use Longon triggers, but I'd like to separate out logic. How many Logon Triggers can I create?

See possible answers