Re: I wonder at the difference in the name patterns

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



AAaron123 (aaaron123@xxxxxxxxxxxxxx) writes:
I look at the DB names in a User Instance and I see the system names and


Two DBs are named like:
I:\MY DOCUMENTS\VISUAL STUDIO
2008\WEBSITES\TEST\APP_DATA\NEWSANDEVENTSDB.MDF

One is named simply:
PhotosDB

Everything is working but I wonder at the difference in the name patterns.

Can you explain why the names might by as they are?

In two cases that's a file path, the latter looks like a database name.
Then again, I don't know what you use to look. Do you run "SELECT name
FROM sys.databases" or something else?

If these are names from sys.databases, I guess you simply named them
differently.

--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: Allow users to only see their mapped DBs
    ... When they open up SSMS today, ... see all the DBs; I want to restrict their view to only the DBs that ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)
  • Re: Viewing Query History in Management Studio
    ... I mean the list of queries that were executed from the management ... Studio, the start time, end time etc? ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: VIW file Extension in SQL Management Studio 2005
    ... Studio 2003 let you do it. ... You are probably better off asking that in a newsgroup about Visual ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: SQL2005 Mgmt Studio does not hide system objects
    ... system objects in object explorer". ... Studio is restarted. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: Requirement to use Management Studio for local instances
    ... Remote connection is required for Management Studio in Windows XP SP2. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)