Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: parameters in query

Re: parameters in query

From: HansF <News.Hans_at_telus.net>
Date: Thu, 07 Apr 2005 13:24:33 GMT
Message-Id: <pan.2005.04.07.14.26.26.947492@telus.net>


On Thu, 07 Apr 2005 14:52:03 +0200, Tom interested us by writing:

> in sql plus i wrote
> select * from order where id_order in (&d_order)
> and input value of parameter 1,5,9 and it's ok!!
>

Now you are seeing that TOAD != SQL*Plus

You want substitution variables, not bind variables, for this particular situation. Bind variables work at the database level (they are the ones with :), whereas substitution variables are tool based and TOAD's implementation is much different that SQL*Plus.

Consider also checking the TOAD site and FAQ for help. Received on Thu Apr 07 2005 - 08:24:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US