In SQL Server, why is this:
[dbo].[table_name]
more preferable:
dbo.table_name
And on these lines, why even list dbo at all, if there is only one scheme?
This is just in case you have a keyword as the tab name, for example [user]
If the table name contains keywords, you will have to enclose it inside []. Most tools (like ORM) use this method to avoid errors or consistency.
.
, , .
- , , /.
, , . [] , , sql. , , Select, SELECT * FROM [Select], SELECT * FROM Select.
SELECT * FROM [Select]
SELECT * FROM Select
, , , .
dbo . , , . schema.table, , .
, dbo.user, . sql "", , , . , . "dbo.user" .
[] , . , []. , , , .dbo - ,
"" , ?, ..
, . SQL.
, , , , a .
:
, , , :(~) , (-) (!), ({), (%), (}), (^), ('), (&), (.), ((), (), ()), (`),
, , , :
(~) , (-) (!), ({), (%), (}), (^), ('), (&), (.), ((), (), ()), (`),
( ) , , , . SQL Server dbo, , .
, SCHEMABINDING, .
Hope this helps
Source: https://habr.com/ru/post/1698750/More articles:What is the best way to apply shadow? - javascriptShould this property be part of my object interface? - objectORA-12514 after server reboot - oraclerandom number with a ratio of 1: 2 - mathAuto YUV → RGB in DirectShow for custom decoder - rgbSQL Date Formulas - dateWhat does XPCSafeJSObjectWrapper do? - javascriptТест RCP-связи/отзывчивость - remote-desktopHow to reload kerberos configuration under tomcat? - tomcatИзмените HTML в окне Internet Explorer с помощью внешних .menuArguments - internet-explorerAll Articles