|
Archives of the TeradataForumMessage Posted: Sat, 27 Dec 2003 @ 20:23:52 GMT
You can generate the needed SQL then run it with BTEQ or Teradata SQL Assistant (Queryman) You can get a list of columns from dbc.columns TRIM may be needed. Fill in the proper dbname You'd need to code your SQL something like this; Then run the generated SQL. Select 'SELECT count (*) from abc where abc.', ColumnName, 'IS NULL;' from dbc.columns where databasename = 'dbname' and tablename = 'abc' order by ColumnName Thanks, Phil Edelsberg, CCP, PMP.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||