Scripts

Technical Article

Automatically Sets Default on Columns

If you set up a default on a column AFTER data has been entered, then this procedure will apply    the default to all NULL values within that column. Limitations:     It only works with numeric values right now.You will also need the INSTR function, which you can also get from this site.This is my first […]

You rated this post out of 5. Change rating

2004-10-13 (first published: )

91 reads

Technical Article

check rerun status of failed/cancelled jobs

There are times when you have mulitple job failures and need to find out in a quick way which jobs/steps failed and what their rerun statuses are.  This script creates a stored procedure in the msdb db to help you find out the statuses of these jobs.

You rated this post out of 5. Change rating

2004-10-12 (first published: )

143 reads

Technical Article

Utility proc for updating (sub) sequence columns

This is a utility proc that I use a lot for datawarehouse transformation/load processing. This is a generic proc for resequencing an integer column in sorted order within a given key combination.Note that 'key' is used here in a general context and not specific, that is there doesn't have to be any keys or indexes […]

You rated this post out of 5. Change rating

2004-10-12

79 reads

Technical Article

Generating random numbers in a range, sql2k

This script will generated random numbers within a choosen Upper and LowerBound. I'v created a random number (int's) generator since i couldnt find a script which exactly did what I was searching for. The RAND function seems to do repetive patterns, so i created a new function based on the NEWID function.After running the two […]

You rated this post out of 5. Change rating

2004-10-08 (first published: )

377 reads

Technical Article

Dynamic Data Paging

I've search high and low on the Internet for good examples of Paging Data in an application. However, none of the Examples were clean enough, or worked for all situations. For example, there are no examples of Data Paging for Tables with Composite Keys.This Script is able to page Data on any Table, using any […]

You rated this post out of 5. Change rating

2004-10-07

327 reads

Blogs

Spark Connect Dotnet November 2024 Where are we?

By

All Spark Connect Posts Introduction There have been quite a few changes in the last...

A New Word: Ochisia

By

ochisia – n. the fear that the role you once occupied in someone’s life...

Create a Numbers Table in Power Query

By

This is a quick blog post, mainly so I have the code available if...

Read the latest Blogs

Forums

Writer methods in PowerQuery (LOL)

By pietlinden

I'm using PowerQuery in Excel on my desktop. (Yeah, I know you can do...

Need help with GROUP BY...

By iamjoe

Here's my data... I am trying to return total days in status for each...

Need help with GROUP BY...

By iamjoe

Here's my data... I am trying to return total days in status for each...

Visit the forum

Question of the Day

The Density Vector

When building statistics, there is the concept of density that refers to the duplicates in a table. How is this calculated?

See possible answers