Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select SQL Problem
Message
De
02/01/2001 08:29:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Select SQL Problem
Divers
Thread ID:
00458422
Message ID:
00458422
Vues:
55
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform