Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Shobham
Starting Member
2 Posts |
Posted - 2011-07-29 : 02:29:51
|
Hi,I am trying to configure an OdbcDataAdapter using SQL statements using the"Query Builder".I want to create a criteria based on a parameter value. Normally, with aSQLdataadapter, I would just drop @OrderNumber in the criteria field for theOrderNumber column. This would generate the correct parameter for the selectstatement etc.When I run the query inside of the "Query Builder" it works just fine. I getprompted for the parameter and then I get the results I am looking for.The problem I am having is that when I try to finish the configuration ofthe dataadapter, I get this message:"ERROR [42S22][Sybase][ODBC Driver]:column '@OrderNumber' not found"Any help would be appreciated. |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-07-29 : 02:34:28
|
Sybase? are you using Sybase query?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
Shobham
Starting Member
2 Posts |
Posted - 2011-07-29 : 05:58:25
|
Yes, In BIDS (Business Intelligent Development studio) using odbc connection , i am connecting to sybase database , in the query builder i am facing the above problem.If SQL Server DB is connected through Microsoft SQL Server connection then above problem is not found |
|
|
|
|
|