Scripts

Technical Article

Find Duplicated rows

This is a very simple and small stored procedure which will help you identify repeated rows on any given table.  This is specially useful for situations when you want to clean up a table and add a primary key on it, but you cannot until all duplication is eliminated.  Only two parameter are necessary; table […]

You rated this post out of 5. Change rating

2002-07-08

1,090 reads

Technical Article

Dynamically Alter all your Tables.....

This script allows you to dynamically alter all the tables in your database.  In the script i am building up an alter statement that adds a 'TimeStamp' column a table.If anyone knows a better way to do this kind of thing, feel free to drop me a mail (jamie.moffat@infographics.co.uk)

You rated this post out of 5. Change rating

2002-07-04

772 reads

Technical Article

Index Locking Strategy

This script returns the index locking strategy informationfor all user tables in a database. It also generates the required TSQL statement to alter locking strategies if required. These statements require CTRL-C and CTRL-V individually into query analyser for execution. Results are best viewed in text only. This TSQL can be wrapped in a stored procedure […]

(1)

You rated this post out of 5. Change rating

2002-07-04

1,395 reads

Technical Article

VB6/ADO Stored Procedure Call Generator

Generates a VB6/ADO procedure prototype, procedure call, and ADO Command Object Parameters.Append calls.  To use, simply set the @spname variable equal to the name of your stored procedure, run, and cut and paste the output into you VB program.  The generated code may require some slight modifications, but this should save you a lot of […]

(1)

You rated this post out of 5. Change rating

2002-07-04

1,086 reads

Blogs

Power BI Performance in 2026: A Practical Guide to Faster Semantic Models and Reports

By

Originally published April 2022; substantially updated July 2026. This post is a complete replacement...

Getting Started with Azure SQL Developer on Macbook

By

The idea behind Azure SQL Developer is for anyone to build, iterate, and test...

AI Experiments: Claude Solved a DAB Issue

By

I’m sure many of you are using AI regularly, perhaps chatting, perhaps using some...

Read the latest Blogs

Forums

Alamat Kantor BCA KCU Batam Telp:08218200203

By m4rt1n4

Hub Via Wa:628218200203 Alamat: Jl. Dokter Sutomo No.50-50A, Ps. Jambi, Kec. Ps. Jambi, Kota...

Alamat Kantor BCA KCU Kisaran Telp:08218200203

By R4nt4u

Hub Via Wa:628218200203 Alamat: Jl. Cokro Aminoto No.28, Kisaran Kota, Kec. Kota Kisaran Barat,...

Alamat BCA KCU Pematang Siantar Tlp:08218200203

By layanan_Bca88

Hub Via Wa:628218200203 Alamat: Jl. Merdeka No.39, Proklamasi, Kec. Siantar Bar., Kota Pematang Siantar,...

Visit the forum

Question of the Day

Limiting Checkpoints

If I use the -k parameter with a number after it, what does this change in SQL Server?

See possible answers