Subject | Generate a SELECT statement with variables in a procedure |
---|---|
Author | Xavier Solé |
Post date | 2003-02-14T12:19:48Z |
Hello listers,
I would like to know if it is possible to generate a SELECT query in a
procedure like this example. Imagine this is part o a procedure:
....
selectedcolumn = "name"
SELECT selectedcolumn FROM MYTABLE
....
Could anyone help me?
Thanks!
Xavier.
I would like to know if it is possible to generate a SELECT query in a
procedure like this example. Imagine this is part o a procedure:
....
selectedcolumn = "name"
SELECT selectedcolumn FROM MYTABLE
....
Could anyone help me?
Thanks!
Xavier.