|
|
|
|
|
by chasil
1142 days ago
|
|
It is also somewhat frustrating that bind variables cannot be used with DDL. I am perfectly able to: SELECT ACCOUNT_STATUS FROM DBA_USERS WHERE USERNAME=:var;
But I cannot: ALTER USER :var ACCOUNT UNLOCK;
I really don't understand why that capability wasn't added a decade ago, as loud as the advice is to avoid hard parsing. |
|
Dynamic SQL is used on practice to fix a lot of problems the SQL people have been refusing to touch.