var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: DB2 & Java
has anyone ever tried to describe a table using Java for a DB2 database. (Works really well for Oracle)
Have tried just about everything from
DESCRIBE tableName; (Oracle)
DESCRIBE SELECT * FROM userName.tableName;
Is there an easy way to do this ?
thanks again all .. any help would be appreciated.
That's because 'DESCRIBE' is not a SQL statement - it's a CLP command. You can only issue SQL statements with JDBC, such as this one:
colname, typeschema, typename, length, scale, nulls
tabname='TABLENAME' and tabschema='USERNAME'