0

I have a website that runs in one server and is used to preview some content. Once the user is happy with it, it needs to be approved and published to the live server. This only implicates copying data from a few tables...

What's the best way of approaching this?

EDIT: I'm using ASP.NET 4, MVC2, SQL Server 2005 on the local server, and SQL Server 2000 in the live one.

Thanks

1 Answer 1

1

You could use SQL Link Server between SQL 2005 and SQL 2000, in which you can then write a query on the SQL 2005 Instance to transfer the Data to the SQL 2000 instance.

Also you could use ASP.NET ADO Connections and Make a Seperate connection to either server, and use a DataSet to transfer your data through you .NET code between 2 x SQL Functions.

If you are inserting Data into either Database using ADO SQLCommand object, make sure to use Parameters Querys rather than building your query with & or + signs.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.