Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using str() function
Message
 
 
To
28/09/2007 16:50:06
Issam Mansour
Jordan Business Machines
Amman, Jordan
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01257532
Message ID:
01257536
Views:
15
Keep in mind that such query wil not be optimizable.
SELECT * FROM mytable WHERE Item_no LIKE '__002%'
>
>I have an item number as column on my table, this column is a char(10) size. Its look like this.
>
>Item_no
>-------
>010010001
>010010002
>010010003
>010020001
>010020002
>020020001
>
>The description of the field as follows:-
>
>xx is the catcode
>xxx is a subcode
>xxxxx is the serial number
>
>How to search the table look for item number with subcode of '002', normally we are using str() function in vfp to do this job.
>
>Best Regards
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform