Retrieves SQL from a table and returns a result set.
Category: | Data Definition |
Data source: | All |
specifies the catalog that contains the table.
specifies the schema that contains the table.
specifies the name of the table.
data myfiles.employees; input IdNum $4. +2 LName $11. FName $11. JobCode $3. +1 Salary 5. +1 Phone $12.;
describe table myfiles.employees;
CREATE TABLE MYFILES."MYFILES".EMPLOYEES ( "IdNum" CHARACTER(4), "LName" CHARACTER(11), "FName" CHARACTER(11), "JobCode" CHARACTER(3), "Salary" DOUBLE, "Phone" CHARACTER(12) );
CREATE TABLE ORACLE.FOO1 (COL1 INTEGER, COL2 VARHCHAR(10);
DESCRIBE TABLE oracle.foo1;
CREATE TABLE "ORACLE"."SCOTT".FOO1 ( COL1 NUMBER, COL2 VARCHAR2(10))
CREATE TABLE dlfoo1 (col1 CLOB);
DESCRIBE TABLE dlfoo1;
CREATE TABLE "DB2"."DBITEST".DLFOO1 ( COL1 CLOB );
create table x.customer (item_name char(30), cost decimal(10,2), delivered date);
describe table x.customer;
CREATE TABLE X."dmvdq1".CUSTOMER ( ITEM_NAME CHAR(60) DEFAULT NULL, COST DECIMAL DEFAULT NULL, DELIVERED DATE DEFAULT NULL ); CREATE INDEX NONAME1 ON X."dmvdq1".CUSTOMER(ITEM_NAME);