Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have used the connection string but if suppose i am working on 'x' project with 'y' sql server database and i want to hand over my project and database to other developer then what are the ways of sharing that 'y' sql server database.


Update: now i have used the physical files of the database i.e x.mdf & x_log.ldf and used that files for sharing. Now my Question from you guyz is , whether there is any other way of sharing the database.

i m a beginner plz help me...
Posted
Updated 6-Mar-14 20:26pm
v5
Comments
Ramug10 6-Mar-14 0:50am    
you and your developer on same network or different?
[no name] 6-Mar-14 0:55am    
both are at different network
Ramug10 6-Mar-14 1:05am    
if your developer not able to access your sql server from his machine then you need to take a full backup of your DB and send it to your developer using FTP/Email/mediafire/DVD etc.,

Web Service.
Create such service that can have access to your database.
http://en.wikipedia.org/wiki/Web_service[^]
http://msdn.microsoft.com/en-us/library/ms950421.aspx[^]

Or rather, all the application would have the same Connection String, That's it :)

-KR
 
Share this answer
 
v2
Comments
[no name] 6-Mar-14 0:42am    
ok i got it about connection string but if suppose i am working on 'x' project with 'y' sql server database and i want to hand over my project and database to other developer then what are the ways of sharing that 'y' sql server database.
Krunal Rohit 6-Mar-14 2:06am    
Yeah. !!

-KR
Ramug10 6-Mar-14 0:54am    
yes, you can create web service to access your database then your developer can consume that service.
[no name] 7-Mar-14 1:30am    
now i have used the physical files of the database i.e x.mdf & x_log.ldf and used that files for sharing. Now my Question from you guyz is , whether there is any other way of sharing the database.

i m a beginner plz help me... :)
Krunal Rohit 7-Mar-14 9:05am    
You can share this physical file using DropBox, Skydrive, Google Drive etc.. Take a advantage of Cloud as well. ;)

-KR
Each application will have same connection string to connect to database. Done!

Update: The other developer should have access to database server you are using. If not, take a full backup of database and share it with others.
 
Share this answer
 
v2
Comments
[no name] 6-Mar-14 0:42am    
ok i got it about connection string but if suppose i am working on 'x' project with 'y' sql server database and i want to hand over my project and database to other developer then what are the ways of sharing that 'y' sql server database.
dan!sh 6-Mar-14 0:50am    
Updated reply.
[no name] 6-Mar-14 0:53am    
and methods of sharing can be...??
dan!sh 6-Mar-14 0:55am    
FTP, dropbox, skydrive, email, mailing DVD/USB with database.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900