In some queries I noticed that selection of a table looks like
在一些查询中,我注意到表的选择看起来像
select *
from ..TableName
And this table has dbo
scheme.
这张桌子有dbo方案。
So, is this the same thing as
那么,这是一回事吗?
select *
from dbo.TableName
and I can use ..
just for comfort? What does ..
mean? Is it only acronym for dbo
or I can use it somewhere else?
我可以用..只是为了安慰?这是什么意思?它只是dbo的首字母缩写还是我可以在其他地方使用它?
1 个解决方案
#1
1
- first
.
is for current database name - 第一用于当前数据库名称
- second
.
is for default schema (dbo
) - 第二。用于默认架构(dbo)
In Sql server, complete name of an object is made up of four identifiers:
在Sql server中,对象的完整名称由四个标识符组成:
server_name.[database_name].[schema_name].object_name
[DATABASE_NAME]服务器名。[SCHEMA_NAME] .object_name
#1
1
- first
.
is for current database name - 第一用于当前数据库名称
- second
.
is for default schema (dbo
) - 第二。用于默认架构(dbo)
In Sql server, complete name of an object is made up of four identifiers:
在Sql server中,对象的完整名称由四个标识符组成:
server_name.[database_name].[schema_name].object_name
[DATABASE_NAME]服务器名。[SCHEMA_NAME] .object_name