Scripts

Technical Article

proc to order xp_enumerrorlog

this is a quick stored procedure I put together when trying to find a log for a particular day (xp_enumerrorlogs returns the archive is as a varchar, so 1 is followed by 11, 12 etc rather than 2) sp_display_errorlogs with no parms returns output in archive id order. if the parm 'size' is passed in, […]

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

You rated this post out of 5. Change rating

2007-09-21

839 reads

Technical Article

A Simply way to implement Audit Trail in SQL 2005

In a recent project, I need to record audit trail for some tables (for Insert, Update and Delete).Using SQL 2005's XML datatype and the XML support it is very covenienet to use triggers to perform the audit trail requirement. I create one table (Table_Audit)  to hold all audit trial data. One stored procedure is created […]

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

(2)

You rated this post out of 5. Change rating

2007-09-20

3,355 reads

Technical Article

Delete constraints - SQL Server 2005

This script will DELETE ALL constraints within the database that you define and in the following order: Foreign Key, Primary Key and then Unique Key.CAUTION:This script does not print out the ALTER TABLE statements, it drop the constraints immediately, therefore backup your database before testing or using this script. I ran the script below and […]

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

(3)

You rated this post out of 5. Change rating

2007-09-19 (first published: )

4,119 reads

Technical Article

_Select Update

I made some modifications to D Simmon's original sp.  1. I added dynamic feature to query tables in other databases (not linked servers) from one sp. I know dynamic sql isn't preferable in most cases but this is the route I took for this.  2. I enabled table name to be sent with owner qualification […]

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

You rated this post out of 5. Change rating

2007-09-18 (first published: )

634 reads

Blogs

Postgres data in Snowflake in under a minute, without an ETL pipeline

By

We spent two days benchmarking Snowflake Postgres mirroring under load. Postgres data reached Snowflake...

Why your data strategy and AI strategy should be one

By

When data and AI strategies compete for the same platform, teams duplicate work and...

Microsoft Ignite Announcements Nov 2026

By

Microsoft shared another large set of announcements at Microsoft Ignite, held November 17–20 in...

Read the latest Blogs

Forums

BCA KCU MUARA KARANG Tlpn(CS):082126922251

By christy.umoren

BCA KCU MUARA KARANG Tlpn(CS):082126922251 Jl. Muara Karang Timur, Blok B VIII No.116-117, RT.6/RW.12,...

BCA KCP SemperTlp/wa;08218168235

By christy.umoren

BCA KCP SemperTlp/wa;08218168235Jl. Plumpang Semper No.02, RT.10/RW.2, Tugu Sel., Kec. Koja, Jkt Utara, Daerah...

BCA KCP Pintu Air Tlpn(CS):082126922251

By christy.umoren

BCA KCP Pintu Air Tlpn(CS):082126922251 Jl. Pintu Air Raya No.36 Q, RT.6/RW.1, Ps. Baru,...

Visit the forum

Question of the Day

Severe Errors

Which class of errors are automatically written to the error log?

See possible answers