Oracle: Parameter box

Soldato
Joined
29 Jan 2004
Posts
3,473
Location
Earth
Does anyone know the syntax for a parameter box?

I'm trying to run a query that'll ask me for the values then search them in a table.

I've done a search and it looks like I have to use a colon( : ) but thats all I'm getting :confused:

In access you use [ enter value ]
 
You running it from SQL*Plus?

You can use & for replacement (i.e. if you wanted to input a string you would need to do it enclosed in the quotes) or : for bind variables.
 
Yep I'm using sqlPlus.

Do you mean something like this:

"&Please enter a name you want to search&"

Thanks :)
 
Back
Top Bottom