If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Possibly crazy idea

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-04, 16:07
kkalsherman kkalsherman is offline
Registered User
 
Join Date: Feb 2004
Location: Philadelphia,PA
Posts: 4
Possibly crazy idea

We use Sybase as our back end, and out DBA has asked me to eliminate all {call [stored proc]} syntax and any RDO use of createquery since both cause a lot of overhead. In SQLAnywhere I can do the following (declaring variables, calling the stored proc, returning variables). I'd like to do this in VB using ADO or RDO, but I can't seem to get it working using the rdoquery object. Any ideas?

'declare variables
declare@Out char(12),
@InputParam char(12)

'set a value for the input variable
select @InputParam='Testing'

'run the stored proc
exec DB..TestOut @Out out, @InputParam

'return the variable
select @Out ouptut
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On