Scripts

Technical Article

Build DATELOOKUP table

This script creates a table named DATELOOKUP which is used for looking up date related values. Each record represents date related info about the date in the column dtDate. For example the iMonth column stores the integer value of the month of dtDate and sShortMonth stores the abbreviated name of that same month. Use this […]

(1)

You rated this post out of 5. Change rating

2004-12-13 (first published: )

233 reads

Technical Article

Where_Am_I

This SP takes a string to be searched as input parameter, loops through all tables, views, Sp-s in the database andreturns the name of the object it was found and number of occurences

(1)

You rated this post out of 5. Change rating

2004-12-10 (first published: )

691 reads

Technical Article

Finding first/last day of month by a date

This script finds the first day of previous, current and next month as well as last day of previous, current and next month.The calculation is based on the ISO date format which makes it independant of the date format used on the SQL Server.The calculation is performed from a date - it can be altered […]

You rated this post out of 5. Change rating

2004-12-02 (first published: )

277 reads

Technical Article

Script to List Missing Identity Numbers

I have a table named employees with an identity column named id. Also,last_name is a column in the table named employees. I created the employeestable and inserted 9 rows in it. If I do a select * from employees, theoutput looks like this:id last_name1 a2 b3 c4 d5 e6 f7 g8 h9 iThen I deleted […]

You rated this post out of 5. Change rating

2004-11-29 (first published: )

154 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

Alamat BCA KCP Pasar Telp:08218200203

By layanan_Bca88

WA CS 628218200203 Komp. Cipulir Permai, E Jl. Ciledug Raya No.9, RT.9/RW.5, Ulujami, Kec....

Alamat BCA KCP Manhattan Telp/Wa:0821-8200-203

By m4rt1n4

Hub CS 08218200203  The Manhattan Square, Mid. Tower, Lt. Ground Unit A & Lt....

Alamat BCA KCP Mal Pondok Indah Telp:0821-8200-203

By R4nt4u

Telp/Wa 62 8218200203 Ground Floor G31 & G32, Jl. Metro Pondok Indah, RT.1/RW.16, Pd....

Visit the forum

Question of the Day

Hyperscale Replicas II

How many Azure SQL DB Hyperscale HA replicas can be configured as of Sept 2026?

See possible answers