Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Hilmar,
The quandry is that in NEITHER case is there data there for it to make this determination.
In any case I tried adding a + " " to the expression with STRTRANS and the index was creatable then.
cheers
>>Do you have an idea, Sergey, why on an empty file I *can* index on SUBSTR(fieldx,1,7) yet a STRTRAN will not work?
>
>Depending on the exact expression, strtran(...) will return a zero-length character string for an empty record (EOF).
>
>SUBSTR() should cause no problems, since it is a fixed-length expression.
>
>Hilmar.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement