× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Thu, Aug 17, 2017 at 2:30 PM, Dan <dan27649@xxxxxxxxx> wrote:


In addition, ARCHIVEXYZ currently does this for 33 tables, so manually
spec'ing all the fields in the select statement would be an arduous task.


Not really​...

Pretty easy to get a list of columns from SYSCOLUMNS...and if you have 7.2+
and the most recent TR's you can even use the LISTAGG() function to turn it
into a column delimited string.

Archiving is one place it _might_ make sense to use SELECT *.

I say might because it depends, it might be good to automatically pick up a
new column. But only if the destination can automatically handle it.

Charles

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.