If all else fails then dynamic SQL would be the rescue here, but if
possible I would prefer a static solution.

Op dinsdag 27 december 2016 heeft <dlclark@xxxxxxxxxxxxxxxx> het volgende
geschreven:

"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx <javascript:;>> wrote on
12/27/2016
11:09:08 AM:
Is it possible use a variable or parameter value for setting an ORDER BY
in
a UDTF?

I would do it with dynamic SQL.


Sincerely,

Dave Clark


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.