SQL:select column_name,data_type from all_tab_columns where table_name=upper('table_name'); 执行: END ...
SQL:select column_name,data_type from all_tab_columns where table_name=upper('table_name'); 执行: END ...
--查询该表字段的注释select * from user_col_comments where Table_Name like '%SMS%'--查询类似表select * from user_tables where table_name like '%SMS%' ...
DECLARE @tableName NVARCHAR(MAX);SET @tableName = N'UserIntegralExchange'; --表名!!! SELECT CASE WH ...
首先进入数据库 desc table_name; desc 后面跟表名即可 例:查看mysql库的user表的字段 use database mysql; desc user; 查看表结构: show create table table_name; ...
show full columns from 表名; ...
varchar(7700) 查看表字段语句:select *from syscat.colum ...
SELECTTABLE_NAME as '表名', column_name AS '列名', data_type AS '数据类型', character_maximum_length AS '字符长 ...