Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select SQL Problem
Message
From
02/01/2001 08:29:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Select SQL Problem
Miscellaneous
Thread ID:
00458422
Message ID:
00458422
Views:
54
I want to create query that reads a variable from the first
underscore to the second.

Maybe
M_ABC_123 = ABC
M_QWERTY_321 = QWERTY

I have writen this query

SELECT SUBSTR(partno,ATC("-",partno,1)+1,ATC("-",partno,2)-ATC("-",partno,1)-1) from plan

Its returns
ABC
QWE

What is the problem.
Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform