-
November 18th, 2009, 04:17 AM
#1
Calling stored procedure with out parameters using ODBC
Hi,
I am using VC++ and ODBC. I need to call an oracle stored procedure that has has in and out parameters.
The ExecuteSQL method of CDatabase doesn't allowed for out parameters. So if anyone can give me any ideas or some simple example as to go about implementing it?
Thanks.
-
November 18th, 2009, 08:45 PM
#2
Re: Calling stored procedure with out parameters using ODBC
-
November 19th, 2009, 11:05 AM
#3
Re: Calling stored procedure with out parameters using ODBC
Overrride CDatabase::BindParameters and set your own output parameter(s).
-
November 19th, 2009, 11:27 AM
#4
Re: Calling stored procedure with out parameters using ODBC
Use the ATL OLEDB consumer classes. It makes working with stored procs a snap. No Dsn required either.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|