What is the column type in the database, and what kind of database is  
it?

- Charles


On Dec 6, 2004, at 3:10 PM, Scott Mulholland wrote:

> Is there any way to force LIKE to match on leading zeros?  If I have a
> query along the lines of:
>
> select accountkey
> from companies
> where accountno LIKE '%#searchString#%'
>
> and I search with a string of: 00000059
>
> I am getting results like:
>
> 05976574
> 12343459
> 59748311
>
> It treats it as if I entered "59" in the search string.
>
> Thanks,
> Scott
>
> ---
> [This E-mail scanned for viruses by Declude Virus]
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186396
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to