Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Creating Index String
I am trying to create a generic routine for creating index based on what I have stored in a table. The table contains the following fields - cexpression (the expression I want to index on), ctag (Name of the index tag I want to create) and cfilter (the filter). My problem is how to I write an expression so that when I say Index &expression it doesn't work. I know the syntax is INDEX ON eExpression TAG Tagname FOR expression. When I build the string how do I take out the 'ON ', 'TAG' and 'FILTER' so they are contained in the string. I hope I'm making since here.
Thanks
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