User as variable
Hello all,
Here is what I want to accomplish.
i have a statement that looks like this.
select count(*) into nolines from testdta.table;
I don't want to hardcode the user testdta, instead i want to use a variable.
varuser := testdta
select count(*) into nolines from varuser.table;
How can I do this, what type should my variable be? Hope i was explicit enough.
Thanx,
Dan.
0