Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

parsing a field SQL 2000

Status
Not open for further replies.

BFT1303

Programmer
Joined
Jan 26, 2007
Messages
29
Location
US
I am reading in a warehouse location that will be warehouse-bin. I need to seperate the field into 2 seperate variables for validation: warehouse and bin. Is there an easy way to do this?

Thanks for your help!
 
yes.

You'll want to use a combination of Left, Right, and CharIndex. Look them up in Books On Line.

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
In short - yes, BUT if you show how the data looks like it will be much easier to answer.

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top