Comparison

Technical Article

Query Performance comparison between instances

  • Script

Execute at source, and will generate an output with TSQL commands to create temp tables filled with top 50 long lasting queries from all databases.
Then execute output at destination and will do the same and show comparison of matching queries!!

3.33 (3)

You rated this post out of 5. Change rating

2016-12-19 (first published: )

782 reads

External Article

On Comparing Tables in SQL Server

  • Article

How do you compare two SQL tables? Every SQL Developer or DBA knows the answer, which is 'it depends'. It is not just the size of the table or the type of data in it but what you want to achieve. Phil Factor sets about to cover the basics and point out some snags and advantages to the various techniques.

2014-06-10

5,867 reads

Technical Article

How to generate SQL DML

  • Topic

I have this peculiar request. We have a library which all developers use to connect to the Production databases. During the course of their interaction with the DB, any Update or Delete statement requires me to take the current state of the Row(s) based on the where clause from the Update/Delete statement and generate all […]

You rated this post out of 5. Change rating

2004-12-07

1 reads

Technical Article

RE: Attached and Detached

  • Reply

If you have SQL Servers list in the database you may run a query that will get a servername from the database, append strings before and after and output in the results window a set of statements like this:SELECT * FROM OPENROWSET('SQLOLEDB','Provider=SQLOLEDB;Server=MyServerName123;Trusted_Connection=yes','select @@servername, <put here everything you want to select according to postings above')Then copy […]

You rated this post out of 5. Change rating

2004-10-11

Technical Article

Datetime grouping question

  • Topic

I am writing a report and the users and they would like to select the grouping of the report.All the grouping will be on a single datetime field (oddly enough named datetime).They would like to be able to choose if the report is grouped by half hour, day, week, or month.I can accomplish day by […]

2004-04-15

1 reads

Blogs

Set a Runtime Variable in an Azure DevOps Pipeline

By

Note: I DO NOT recommend this. Any changes to a pipeline should be in...

A New Word: Symptomania

By

symptomania – n. the fantasy that there’s some elaborate diagnosis out there that neatly...

Query Store Keeps Switching Itself Off, Getting it Moving Again

By

I recently received a complaint that Query Store for a particular database was turned...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers