Demonstration on how to pivot data using temp tables
This script was designed to 'pivot' data that couldnt easily be pivoted in any other way. i used temporary tables to eventually achieve the result i was looking for 🙂
2008-10-10
1,028 reads
This script was designed to 'pivot' data that couldnt easily be pivoted in any other way. i used temporary tables to eventually achieve the result i was looking for 🙂
2008-10-10
1,028 reads
It is very common to want to drop a table, if it exists, before creating it. This script does so, and it works well with temp tables (where the system views are harder to query).
2008-10-06
2,691 reads
All of us have problems with Duplicate rows, here is a simple and efficient way of removing duplicate rows
2008-10-03 (first published: 2008-07-18)
1,661 reads
How to use DDL triggers and Query the Data with minimum performance impact.
2008-10-02
1,810 reads
2008-09-30 (first published: 2008-07-24)
873 reads
A short script you can incorporate into any 2005/2008 code to get the full schema.table.
2008-09-29
652 reads
Script to return Rows count from table using sp_ExecuteSQL
2008-09-26 (first published: 2008-07-20)
1,517 reads
When a value is changed that causes an error, finding what caused the error can be tricky. Here an application was truncating a column. The trigger helped to identify the culprit.
2008-09-25 (first published: 2008-07-17)
1,390 reads
A quick script to check for fragmentation in a database and generate a list of defrag statments you can run.
2008-09-24
2,451 reads
2008-09-19 (first published: 2008-07-20)
1,468 reads
By Steve Jones
Recently a customer asked if SQL Compare and SQL Data Compare can be used...
I was asked to do a review of the book Microsoft Power BI Performance...
i see this in the definition of a linked server on our wh sql...
Is this even possible ? Tried with grant but to no avail. [sys].[database_role_members] and...
Comments posted to this topic are about the item Stairway to Snowflake Level 5...
What does this code return in SSMS 20 from SQL Server 2019?
select '|' + CHAR(0)+'abc' + '|';See possible answers