dbTalk Databases Forums  

Passing in parameters into a select

comp.database.oracle comp.database.oracle


Discuss Passing in parameters into a select in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
kintaro
 
Posts: n/a

Default Passing in parameters into a select - 05-27-2004 , 03:06 AM






Hi!
I have this problem..
How can i pass an IN parameters into a select statement?
It continue to gimme the error: "invalid number"..

(oggetto in varchar2, oggetto2 in varchar2, rife out
riferimenti.curref)
as
begin
open rife for
select oggetto from allarmi where oggetto2 between 10 and 80;
end returnresults;

this is the code..

Is it possible that i cannot use in par for the select "in par" but
only for the WHERE condition?

10x!

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.