bind variables [message #57353] |
Sun, 08 June 2003 00:33 |
Sheila
Messages: 28 Registered: May 1998
|
Junior Member |
|
|
Would you please let me know, what the difference is between using literals or bind variables in query parameters?
for example, what has been used in the following SQL statement, a literal or bind variable?
SELECT * FROM table_name WHERE id = 1234;
|
|
|
Re: bind variables [message #57376 is a reply to message #57353] |
Tue, 10 June 2003 08:54 |
SD
Messages: 16 Registered: March 2000
|
Junior Member |
|
|
This is a literal. If it was a bind variable, it would look like this
SELECT * FROM table_name WHERE id = :thevar;
|
|
|