一、查看表结构
sp_columns Student;
注:https://blog.csdn.net/justdb/article/details/7435600
也可使用 sp_help table_name
注:https://www.cnblogs.com/qianjinyan/p/6729760.html
二、查看视图(两种方式)
1.
sp_helptext v_student;
2.选择视图---右键----编写视图脚本为-----ALTER到----剪贴板 粘贴即可
注:https://www.cnblogs.com/kekelele/p/11547228.html
三、查看sqlserver版本
SELECT @@VERSION
注:https://blog.csdn.net/icecoola_/article/details/79651666
四、sqlserver中的数据类型