Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

lexical and bind parameters

Status
Not open for further replies.

shailu77

Programmer
May 5, 2003
7
0
0
IR
Hi,

Can u plz explain waht are lexical parameters and bind parameters.. if they r not the same, can u explain the difference.

Thanks
shailu
 
The main difference is that lexical variable is substituted by value before PARSING, while bind one - AFTER (during binding phase). Thus you may use lexical variable to change column/table names or even complete sql statement during runtime, though bind variables may be used only to parametrize your query.

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top