Home Forums Article Discussions Article Discussions by Author Discuss Content Posted by Don Peterson Beware of Search Argument (SARG) Data Types RE: Beware of Search Argument (SARG) Data Types
Paul Smith-221741
SSCrazy
Points: 2003
More actions
July 13, 2006 at 7:22 am
#648943
Nice info to know. Fell foul of the conversion rules with SP4 when trying to use a variable devalred as Decimal(16,0) against a Primary key column defined as Decimal(12,0).
It managed to persuade SQL to do a table scan instead of an Index seek!