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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.