Scripts

Technical Article

sp_dir - Procedure to list database objects

Lists objects from database. Similar to 'dir' command from DOS πŸ™‚Typical usage sp_dir 't' 'order*', 1 Β Β Β  - returns list of all tables whose name start with 'order' plus their columns and data typessp_dir 'p' 'custom*_sp' -Β  returns list of all stored procedures whose name start with 'custom' and end up with '_sp'For list of […]

β˜… β˜… β˜… β˜… β˜… β˜… β˜… β˜… β˜… β˜…

You rated this post out of 5. Change rating

2002-07-19

507 reads

Technical Article

Mark DTS Task As Complete

This is a VBScript that can be placed in an ActiveX Script Task.Β  The purpose of this script is to mark other tasks in the DTS package as complete before they execute.Β  In this way you can ensure a task does not execute.The Dim and Set lines give you access to the objects in the […]

β˜… β˜… β˜… β˜… β˜… β˜… β˜… β˜… β˜… β˜…

You rated this post out of 5. Change rating

2002-07-18

259 reads

Blogs

A New Word: Dorgone

By

dorgone– adj. wondering if you could slip away from an event or group conversation...

Tell It Once: Setting Up Claude With Skills and MCP Servers

By

Many of us use AI the same way every single day. Open a tab....

SQL Server Transaction Log Forensics: Preserving Evidence During an Incident

By

SQL Server Transaction Log Forensics: Preserving Evidence During an Incident SQL...

Read the latest Blogs

Forums

Make It Routine

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Make It Routine

Finding Gaps in Sequential Data Using SQL Server

By Imran2629

Comments posted to this topic are about the item Finding Gaps in Sequential Data...

Negative and Positive Numbers

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Negative and Positive Numbers

Visit the forum

Question of the Day

Negative and Positive Numbers

If I want to know whether a number of negative, positive, or zero, what is the easiest way to get this in T-SQL?

See possible answers