Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

detect different datatypes

By tulcanla,

-  a simple and handy script that finds what differences might exists between the fields in your database that have the same name.I was wondering why my execution plans where different  for tables with the same  field names and the same indexes,statistics etc... because the syetem was converting my fields in the WHERE statement.
-  it can be run in 6 ways:1 * 2 * 3
with database name,  with no database name, with field name  or not, with nothing as well

Total article views: 87 | Views in the last 30 days: 1
 
Related Articles
FORUM

Unuseable Field Name in Database

Database contains a field with a space eg. First Name

SCRIPT

Search Table And Field In All Database And Return Field Value

In this script, we can search a Field and Table in all databases on the server, returning the Field ...

SCRIPT

Search Table And Field In All Database And Return Field Value

In this script, we can search a Field and Table in all databases on the server, returning the Field ...

FORUM

Database Design

Database Design for dynamic fields

FORUM

Import &Export the symmetric key encrypted fields from one database to another database

Import &Export the symmetric key encrypted fields from one database to another database

 
Contribute