小智 5
不同的可能性
Help table <TableName> -- All columns of a table
Help columns <ViewName>.* -- All columns of a View
Show table <TableName> -- DDL of table
Show view <ViewName> -- DDL of View
show select * from <ViewName>-- DDL of base table in a view
Run Code Online (Sandbox Code Playgroud)
或从系统表中选择.
SELECT ColumnName
FROM dbc.columnsV
WHERE DatabaseName = 'DB_NAME' and
TableName = 'table_name';
Run Code Online (Sandbox Code Playgroud)
搜索teradata column name list提供了更多答案.
| 归档时间: |
|
| 查看次数: |
4000 次 |
| 最近记录: |