×
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.
I use ACS-RSS and saved this in the SQL Examples.
I change the library name (MyDataLibrary) and table name (MyTable) in the
two Create Variable commands then run them and run the next Select. Gives
me more information than I need most of the time.
If I need to know the dependencies I run the next Select.
If I need a list of columns comma separated to paste into another SQL I run
the last Select.
-- category: .SYS
-- description: sys_Table_Information
-- =========+=========+=========+=========+=========+
-- Create a work variable with search value Change the default and run
both
CREATE OR REPLACE VARIABLE MyLibrary.@vtmpsql01 CHAR(10) DEFAULT
'MyDataLibrary' -- Library
;
CREATE OR REPLACE VARIABLE MyLibrary.@vtmpsql02 CHAR(10) DEFAULT 'MyTable'
-- Table
;
As an Amazon Associate we earn from qualifying purchases.
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.