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,390 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

Career: Talk To References

By

As we try to get through these strange times in the world, I am...

Daily Coping 14 May 2021

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

WIT Mental Health and Wellness Videos Posted

By

I was honored to speak at the WIT Mental Health and Wellness day last...

Read the latest Blogs

Forums

SSRS report server installation

By sqlfriend

If we want to install SQL server SSRS service on another server separating  it...

prevent certain characters being inserted into table

By Siten0308

Hello, So i am assigned a task, that if a user inserts a certain...

sql help

By Tara-1044200

I am trying to get the multiple tables from multiple dbs together in a...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers

Question of the Day

Container Logs

See possible answers