mysql查看表注释 sql语句怎么写?
发布网友
发布时间:2022-04-24 04:24
我来回答
共3个回答
热心网友
时间:2022-04-07 15:53
mssql查询:
SELECT so.[id] AS ObjectID,
so.[name] AS ObjectName, so.XType,
(CASE WHEN (LEFT(text, 2) = '/*')
AND (charindex('*/', text) > 0) THEN substring([text], 3, patindex('%*/%', text) - 3)
ELSE '' END) AS Comments
FROM syscomments AS sc full join sysobjects AS so ON so.[id] = sc.[id]
WHERE so.[xtype] = 'U' OR so.[xtype] = 'V'
mysql表注释查询:
select table_name,table_comment from information_schema.tables where table_schema = 'image' and table_name ='tableName'
热心网友
时间:2022-04-07 17:11
用 SHOW TABLE STATUS [FROM db_name]
示例:
SHOW TABLE STATUS ;
SHOW TABLE STATUS FROM dbname;
热心网友
时间:2022-04-07 18:45
查看注释?笔记本打看不行么?