G
Guest
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, (e-mail address removed)
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, (e-mail address removed)