.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> Sql Server >> Post New QuestionBookmark and Share Subscribe to Forum

How Create Database in Remote computer using TSQL...

Posted By: Sajid P K     Posted Date: November 29, 2010    Points:2   Category :Sql Server
Dear frdz ,

I have to create database in remote computer dynamically from TSQL.

Actually my requirement from a store procedure I have to create database in remote server. Here remote server is dynamic.

I have all the TSQL statement for creating table & store procedure.

What is the best method for doing this?

Author: Narayanan             
Posted Date: July 28, 2011     Points: 20   


Regards, Lakshmi Naraayanan.S
Author: Ravi Ranjan Kumar             
Posted Date: July 30, 2011     Points: 20   

Its better to create script and then run it using SQLCMD which will connect it to remote instance and then run the script.
you can also look at given link having same question with same suggested answer.

Thanks & Regards
Ravi Ranjan Kumar

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend