本文介绍了显示创建表表名(如何在sql server中做到这一点)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在mysql中可以执行show create table tablename

in mysql it is possible to do show create table tablename

什么是sql server等效项?

what is the sql server equivalent?

推荐答案

在SSMS中,右键单击表节点,然后单击脚本表为"/创建".

In SSMS, right-click on the table node and "Script Table As" / "Create".

没有内置的此表脚本" T-SQL.

There is no built in 'script this table' T-SQL.

sp_help'tablename'会提供有用的表信息.

sp_help 'tablename' gives useful table information if that'd do.

这篇关于显示创建表表名(如何在sql server中做到这一点)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 09:47