如何查看sql表格的架构 [英] how can see the schema of the sql tabel

查看:85
本文介绍了如何查看sql表格的架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,
请告诉我有关使用存储过程创建的表结构的查询
谢谢大家

Hello friend,
please tell me the query for view the structure of the table which is created by using store procedure
thank you all

推荐答案

尝试:
SELECT column_name, data_type, is_nullable, character_maximum_length FROM information_schema.COLUMNS WHERE table_name='myTable'




Or

SELECT column_name FROM information_schema.COLUMNS WHERE table_name = 'myTable'


这篇关于如何查看sql表格的架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆