depending on how you installed the SQL Server instance, you have to provide the appropriate name..
for a "default" instance, it's name will be (Local) or ComputerName;
for a "named" instance, you have to add the InstanceName to the above definition, becoming something like ComputerName\InstanceName
you can see the actual installed instances in several ways.. check the SQL Server Configuration Manager, in the SQL Server 2005 Services node... you should see something like SQL Server (MSSQLSERVER) <--- this is a default instance
SQL Server (other names, like SQLEXPRESS or th like) <--- this is a named instance..
or you can access your Microsoft Management Console applet to manage Windows services, and you should find
SQL Server (MSSQLSERVER) <--- this is a default instance
SQL Server (other names, like SQLEXPRESS or th like) <--- this is a named instance..
or you can inspect the Windows registry, but the above should suffice..
if the server is up and running, you can connect your application via a "traditional" connection string... see http://www.connectionstrings.com/ for connection string samples..
how to start SQL Server 2005 Workgroup Edition
TimClark
hi,
depending on how you installed the SQL Server instance, you have to provide the appropriate name..
for a "default" instance, it's name will be (Local) or ComputerName;
for a "named" instance, you have to add the InstanceName to the above definition, becoming something like ComputerName\InstanceName
you can see the actual installed instances in several ways.. check the SQL Server Configuration Manager, in the SQL Server 2005 Services node... you should see something like
SQL Server (MSSQLSERVER) <--- this is a default instance
SQL Server (other names, like SQLEXPRESS or th like) <--- this is a named instance..
or you can access your Microsoft Management Console applet to manage Windows services, and you should find
SQL Server (MSSQLSERVER) <--- this is a default instance
SQL Server (other names, like SQLEXPRESS or th like) <--- this is a named instance..
or you can inspect the Windows registry, but the above should suffice..
regards
fishy_swa
thanks for reply
ok now i wanna connect so what is the server name
thanks
Rhubarb
hi,
if the server is up and running, you can connect your application via a "traditional" connection string... see http://www.connectionstrings.com/ for connection string samples..
regards