Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ole db where error
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Ole db where error
Divers
Thread ID:
00980292
Message ID:
00980292
Vues:
71
Hi.
I am getting an oledb exception error in a elect where clause

string cStr;
cStr = cString.ToLower().Trim();
this.sSelectString = "SELECT " + this.sFields + " FROM " + this.sTableName +
" WHERE cStr IN isr_name ";

Im sure the problem is in the 'Where' syntax command as it selects all records
into the dataset ok if I take the Where Bit Out.

What I would really like to do is something like:

where Upper(Alltrim(Mystring)) in Upper(Field1) or Upper(Field2) or Upper(Field3)

Any help appreciated.
regards

Gerard
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform