Alias for a database name?
From: David Sworder (GilGrissom_at_CSILasVegas.com)
Date: 03/18/04
- Next message: Ray Higdon: "Re: How to get the windows current user currently logged from SQL Server"
- Previous message: Hemanth: "How to get the windows current user currently logged from SQL Server"
- Next in thread: Tibor Karaszi: "Re: Alias for a database name?"
- Reply: Tibor Karaszi: "Re: Alias for a database name?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 18:19:25 -0800
Hi there,
I'm using SQL Server 2000.
I've created a database that has the name "SworderNet.ProductAnalysis."
Various applications connect to this database using this name. Well, it
turns out that certain programs like Excel have a problem accessing SQL
databases that have a "." in the name. The simplest solution is obviously to
just rename the database but it would be a major hassle to try to track down
all of the various clients that use this database and change the
appropriate config files to reflect the new name. Is there a way to create
an "alias" name for this database (similar to a CNAME record in dns)? For
example, I'd like to create an alias called "ProductAnalysis"... The
original name would still work, but clients that have problems with "."
embedded in the database name can just use the alias name instead.
Is it possible?
-- Sincerely, David Sworder
- Next message: Ray Higdon: "Re: How to get the windows current user currently logged from SQL Server"
- Previous message: Hemanth: "How to get the windows current user currently logged from SQL Server"
- Next in thread: Tibor Karaszi: "Re: Alias for a database name?"
- Reply: Tibor Karaszi: "Re: Alias for a database name?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|