SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

Sven8
Starting Member

2 Posts

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

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,

Sven

robvolk
Most Valuable Yak

USA
15663 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: http://msdn.microsoft.com/en-us/library/ms151198.aspx

Log shipping allows a readable secondary: http://msdn.microsoft.com/en-us/library/ms187103.aspx

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

chieubuon
Starting Member

Vietnam
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

Sven8
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

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2046 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
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.05 seconds. Powered By: Snitz Forums 2000