Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter symbol for Oracle in DataSet
Message
De
07/02/2007 14:02:36
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Parameter symbol for Oracle in DataSet
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01193338
Message ID:
01193338
Vues:
69
Using VS2005. I have created a dataset for our Oracle database and have created a TableAdapter within the dataset for one of the Oracle tables.

When I Add a Query, I want to create a SELECT statement with a parameter as such:
SELECT * FROM customer WHERE custno = @lccustno
However, when I get to the Finish page of the dialog, I get an error "Missing expression".

My question is, how do I define a parameter on a SELECT statement for an Oracle table? The '@' works on a Sql Server table but not on an Oracle table.

Thanks,

Jerry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform