Re: using (local) server on SQL 2K
From: William \(Bill\) Vaughn (billvaRemoveThis_at_nwlink.com)
Date: 07/31/04
- Next message: William Ryan eMVP: "Re: using (local) server on SQL 2K"
- Previous message: patrick: "Re: using (local) server on SQL 2K"
- In reply to: patrick: "Re: using (local) server on SQL 2K"
- Next in thread: William Ryan eMVP: "Re: using (local) server on SQL 2K"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 31 Jul 2004 09:23:47 -0700
(local) or "." addressing points to the "default" SQL Server instance. If
you install MSDE or SQL Server Express with a name, it installs as a named
instance and should be addressed using the "\<instanceName>" syntax. In the
future MS will encourage you to use the SQLEXPRESS instance name (which will
be used by default during setup) and to share this common instance with
other applications.
hth
-- ____________________________________ William (Bill) Vaughn Author, Mentor, Consultant Microsoft MVP www.betav.com Please reply only to the newsgroup so that others can benefit. This posting is provided "AS IS" with no warranties, and confers no rights. __________________________________ "patrick" <patrick@discussions.microsoft.com> wrote in message news:A3DBAACB-DB4C-4384-9413-27881CE508CF@microsoft.com... > oSheesh, I never thought of putting my conn string in an external file, thanks a lot Chris! I also haven't tried the localhost or local URL either, I will try those, THANKS! > patrick > > "Chris Taylor" wrote: > > > Hi Patrick, > > > > You should definately consider putting the connection string in a > > configuration file so that it can be changed easily. You can localhost or > > 127.0.0.1. > > > > Hope this helps > > > > -- > > Chris Taylor > > http://dotnetjunkies.com/weblog/chris.taylor > > > > > > "patrick" <patrick@discussions.microsoft.com> wrote in message > > news:9D27AEBA-4F9E-4C33-8035-79E9881C17AA@microsoft.com... > > > I am trying to create my first SQL Server 2000 app deployment. What I am > > concerned about is the app won't be able to connect to another machine via > > MSDE 2000 once installed because I have my own machine name/SQL server name > > coded into the connection string. I know how to make the string use > > variables, but how do I find the right variables for a foreign machine, ie., > > machine name and server name? > > > > > > When I used SQL server 7 or the MSDE version from 1998, I could set my > > conn str server property to > > > > > > server=(local) > > > > > > and that would work. But I think I was using ODBC, not OLDB for sqlserver, > > and it wasn't in .NET. I have never been able to connect to my SQL 2000 > > using the (local) setting. Why not? None of the books I have says much on > > this except that I should be able to connect via (local). TIA, > > psully@nospam.eatel.net > > > > > > > > > > > >
- Next message: William Ryan eMVP: "Re: using (local) server on SQL 2K"
- Previous message: patrick: "Re: using (local) server on SQL 2K"
- In reply to: patrick: "Re: using (local) server on SQL 2K"
- Next in thread: William Ryan eMVP: "Re: using (local) server on SQL 2K"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|