Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: dynamic sql in PL/SQL
On 22 Mar 2005 13:21:56 -0800, "jimmy gogo" <james.lawless_at_vhi.ie>
wrote:
>Do I have to use dynamic SQL here? What other options might I have?
You have to use dynamic sql and you need to concatenate the order by clause (which is not a variable but a string) to the rest of the statement.
-- Sybrand Bakker, Senior Oracle DBAReceived on Tue Mar 22 2005 - 16:08:05 CST
![]() |
![]() |