Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 Two computers and one database
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

2 Posts

Posted - 02/21/2013 :  10:06:23  Show Profile  Reply with Quote

I want to work in a wireless network. My two (or more) computers are in that network, and I want one SQL Server 2008 database (for example with the name Test_SQL). I want from both computers write en raed on that database. So when I write something to that database with computer A, that computer B also has that data in the database.

Best regards,


Most Valuable Yak

15732 Posts

Posted - 02/21/2013 :  12:33:54  Show Profile  Visit robvolk's Homepage  Reply with Quote
The only option that allows both servers to write is replication:

Log shipping allows a readable secondary:

Neither of these offer realtime synchronization.
Go to Top of Page

Starting Member

7 Posts

Posted - 02/22/2013 :  00:38:02  Show Profile  Reply with Quote
I think you can create Tesl_SQL on the one of your computers (or your server working in the same wireless) and from any computer you can connect to that database by ODBC to update data

Edited by - chieubuon on 02/22/2013 00:41:07
Go to Top of Page

Starting Member

2 Posts

Posted - 02/22/2013 :  03:46:21  Show Profile  Reply with Quote
But how can I change the location of the database db, in this case Test_SQL?
The data will place in C:\Program Files\Microsoft SQL Server\100\MSSQL10_50.MSSQLSERVER\MSSQL\DATA

I can't change this to a netwerk driver.
Go to Top of Page

Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 02/23/2013 :  02:15:51  Show Profile  Visit jackv's Homepage  Reply with Quote
Assuming you can create an ODBC (or other method) to the target database , than you don't need to place the data on a Network Share.
You're actually connecting a SQL Server service - which has a database attached ,
In the odbc the connection will be to a SQL Server , such as MYSERVER\MYINSTANCE and then you reference a db

Jack Vamvas
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000