DataTypes

Identify Column Data Types

  • Script

Use the following queries to list a result set of all column data types to any specified database. In the 2nd query, you will see a result set based on all text based data type columns in your database (XML data type not included). Modify accordingly.

2.67 (3)

2014-04-07 (first published: )

1,224 reads

SQL Server Data Type Precedence

  • Article

I am executing a simple query/stored procedure from my application against a large table and it's taking a long time to execute. The column I'm using in my WHERE clause is indexed and it's very selective. The search column is not wrapped in a function so that's not the issue. What could be going wrong?

2012-09-04

2,480 reads

Blogs

SQLSaturday Automatic Messages

By

For those who haven’t used the admin tools for SQLSaturday when an event is...

Using the Announcement/News Part of SQLSaturday

By

One of the interesting but not often used features of the SQLSaturday tools is...

SQLSaturday Orlando 2019 Begins

By

We’ll be event number 911, set for September 28th at our usual location at...

Read the latest Blogs

Forums

Statistics Profile Results

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Statistics Profile Results

Transaction was deadlocked on lock | communication buffer resources with another

By sridharkannan7

I have a table that contains case numbers. The following stored procedure assigns a...

Microsoft and Oracle Cloud Partnership

By Kathi Kellenberger

Comments posted to this topic are about the item Microsoft and Oracle Cloud Partnership

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers