[英]Creating Table in SSMS (SQL Server)
When I create a table using the interface with SSMS the table "prefix" automatically is set to 当我使用带有SSMS的界面创建表时,表“前缀”自动设置为
MyCompanyName\MyUserID.tableName.
However when I create a table with a query I am able to set the "prefix" to dbo.tableName. 但是,当我使用查询创建表时,我可以将“ prefix”设置为dbo.tableName。
MY 2 questions are 我的两个问题是
(1). What does this "prefix" mean?
(2). How do I set the "prefix" to dbo using the SSMS interface?
I've done some research but can't figure out whether it refers to the schema (which I don't know anything about) or the user. 我已经进行了一些研究,但无法弄清楚它是指架构(我对此一无所知)还是用户。 Any help would be much appreciated.
任何帮助将非常感激。 Thank you in advance!
先感谢您!
-Charlie -查理
This "prefix" is schema name . 此“前缀”是架构名称 。
You can change it in SSMS in property page (press F4 to open): 您可以在属性页的SSMS中更改它(按F4键打开):
It's simply adding the schema name as a prefix. 它只是添加架构名称作为前缀。
Sorry, covered in other answers above - I was 30 secs too late. 抱歉,上述其他答案已涵盖-我太迟了30秒。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.