Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameter symbol for Oracle in DataSet
Message
From
07/02/2007 14:02:36
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Databases
Title:
Parameter symbol for Oracle in DataSet
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01193338
Message ID:
01193338
Views:
70
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
Next
Reply
Map
View

Click here to load this message in the networking platform