SQL Queries

How to Change SQL Server Compatibility level

  Changing Database compatibility level will be required when you upgrade your database from one version to another and you…

6 years ago

how to find list of heap tables in the database.

Below query can be used to find heap table in sql server. SELECT T.Name 'HeaptableName' FROM sys.indexes I INNER JOIN…

7 years ago

How to find columns and datatypes of table quickly

When you are troubleshooting or working on any enhancement activities you may want to see the details of the table…

7 years ago