Can you have Databse names that contain spaces such as Intanet Content
Databse? Will this cause any issues in SQL 2000?
You can, but you need to delimit the names with brackets:
[Intanet Content Databse]
In my opinion it's not a good practice. Do the spaces really add anything
extra to the name? Furthermore, why do you need to add the "Database" (or
"Databse" in your case) identifier? Do your client tools merge databases
and other types of objects in the same views, such that you need the
additional text to differentiate between them in a list?
Adam Machanic
Pro SQL Server 2005, available now
http://www.apress.com/book/bookDisplay.html?bID=457
"George Schneider" <georgedschneider@.news.postalias> wrote in message
news:294E9BC0-5A7A-490E-B678-63242CCA6B3D@.microsoft.com...
> Can you have Databse names that contain spaces such as Intanet Content
> Databse? Will this cause any issues in SQL 2000?
|||Its froma Admin. stanpoint. These databses are created my Sharepoitn
Services. I'm assuming the brackets are required when I reference them. I
don't actual name them [Intanet Databse] do I?
"Adam Machanic" wrote:
> You can, but you need to delimit the names with brackets:
> [Intanet Content Databse]
> In my opinion it's not a good practice. Do the spaces really add anything
> extra to the name? Furthermore, why do you need to add the "Database" (or
> "Databse" in your case) identifier? Do your client tools merge databases
> and other types of objects in the same views, such that you need the
> additional text to differentiate between them in a list?
>
> --
> Adam Machanic
> Pro SQL Server 2005, available now
> http://www.apress.com/book/bookDisplay.html?bID=457
> --
>
> "George Schneider" <georgedschneider@.news.postalias> wrote in message
> news:294E9BC0-5A7A-490E-B678-63242CCA6B3D@.microsoft.com...
>
>
|||Brackets are required both when creating them and when referencing them. I
assume Sharepoint does that automatically for you...
Adam Machanic
Pro SQL Server 2005, available now
http://www.apress.com/book/bookDisplay.html?bID=457
"George Schneider" <georgedschneider@.news.postalias> wrote in message
news:BF29447B-189F-4E4F-B531-0D1E43522A55@.microsoft.com...[vbcol=seagreen]
> Its froma Admin. stanpoint. These databses are created my Sharepoitn
> Services. I'm assuming the brackets are required when I reference them.
> I
> don't actual name them [Intanet Databse] do I?
> "Adam Machanic" wrote:
|||And you can also use double-quotes, "Intanet Databse", which is the ANSI SQL way to delimit
identifiers.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Adam Machanic" <amachanic@.hotmail._removetoemail_.com> wrote in message
news:OzwT9DeKGHA.964@.tk2msftngp13.phx.gbl...
> Brackets are required both when creating them and when referencing them. I assume Sharepoint does
> that automatically for you...
>
> --
> Adam Machanic
> Pro SQL Server 2005, available now
> http://www.apress.com/book/bookDisplay.html?bID=457
> --
>
> "George Schneider" <georgedschneider@.news.postalias> wrote in message
> news:BF29447B-189F-4E4F-B531-0D1E43522A55@.microsoft.com...
>
|||Sharepoint doesn't create it with Brackets. It shows up in EM as Inranet
Company Content.
"Tibor Karaszi" wrote:
> And you can also use double-quotes, "Intanet Databse", which is the ANSI SQL way to delimit
> identifiers.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
> Blog: http://solidqualitylearning.com/blogs/tibor/
>
> "Adam Machanic" <amachanic@.hotmail._removetoemail_.com> wrote in message
> news:OzwT9DeKGHA.964@.tk2msftngp13.phx.gbl...
>
|||The brackets (or double-quotes) are used when referencing the database.
They are not part of the string -- just there to delimit it.
Adam Machanic
Pro SQL Server 2005, available now
http://www.apress.com/book/bookDisplay.html?bID=457
"George Schneider" <georgedschneider@.news.postalias> wrote in message
news:A782969A-728B-44E5-98C2-8BB105BFC421@.microsoft.com...[vbcol=seagreen]
> Sharepoint doesn't create it with Brackets. It shows up in EM as Inranet
> Company Content.
> "Tibor Karaszi" wrote:
No comments:
Post a Comment