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 |
|
sherinbranch
Starting Member
7 Posts |
Posted - 2006-02-24 : 12:26:22
|
| I am calling a procedure with two input parameters and one output parameter (third) in the following format. I'm receiving a database error on the return parameter. *result. What is the correct syntax for an output parameter.Code:CSTRING strSQL;strSQL.Format("BEGIN EQUIPMENT_UTILITIES.MOVE_EQUIPMENT('%s', '%s', '%d'); END;",(LPCSTR)lpEQNum,(LPCSTR)lpMoveTo, result); <-Failingat '%d' result.Thanks. |
|
|
RickD
Slow But Sure Yak Herding Master
3608 Posts |
Posted - 2006-02-24 : 12:35:17
|
| Cross post:http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=62331 |
 |
|
|
sherinbranch
Starting Member
7 Posts |
Posted - 2006-02-24 : 21:55:51
|
| I am using PL/SQL I have this in my C code... Oracle 9iI am new to thisBEGIN EQUIPMENT_UTILITIES.MOVE_EQUIPMENT(EQNUM, MoveTo, ? ); END;"*the third argument should be an output param not sure how to do this. *it's in a CString format |
 |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2006-02-25 : 00:31:18
|
| This is a MS SQL Server forums. Try posting your question in dbforums or other oracle forum.----------------------------------'KH'It is inevitable |
 |
|
|
|
|
|