sql 查詢庫中某表中全部字段及字段類型、屬性等

SELECT column_name,column_type,IS_NULLABLE,column_key FROM information_schema.columns WHERE table_schema= '庫名' AND table_name = '表名'orm
相關文章
相關標籤/搜索