This is a discussion on data refresh automating on MS Sql 2005 within the Database Support forums, part of the Web Development category; data refresh automating on MS Sql 2005 Frequently we get request of data refresh. Its curbersome process everytime to take ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| data refresh automating on MS Sql 2005 Frequently we get request of data refresh. Its curbersome process everytime to take backup from prod and restore in development/test region. I am thinking to automate this process using stored procedure. But I need to pass various parameters to SP to tell where is source, destination, domain, etc.,
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
|
#2
| |||
| |||
| Hi, Here's a few questions I have (and this serves to test out neven's new List hack to YAF): Do you need to do a full "data refresh" at the test server? In other words, do you basically delete the old database and replace it with a new copy? Can you change structure of the tables of the production database to add a "Status" type of column? |
|
#3
| |||
| |||
| Hi, We usually take latest backup copy of production database and then restore it in development/test server, overwriting the existing one. After that, map the users/logins.
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
|
#4
| |||
| |||
| Hi, you're having trouble with users not mapping up to logins, eh? Having to resort to using sp_changeuserslogin? Ugggh! There are better ways In your case, I think that the backup/restore is the perfect choice. Had you only needed certain parts of the database then I would've suggested SSIS and other techniques. Backup/restore is the fastest way and the easiest to manage. I have a few backup-related stored procedures that I use (in my SQL Server scripts) to do this very thing. You'll also want to check out sp_helprevlogin for SQL Server - it may prevent you from needing to run sp_changeuserslogin ever again |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can I run all VS Pro 2003, 2005 and 2008 as clients with VS Team System 2005? | shaalini | Server Management | 1 | 05-08-2009 03:08 AM |
| Unable to save string data into a table in SQL Server 2005 database | tskmjk | VB.NET Programming | 0 | 10-07-2008 03:12 AM |
| Is there any way to load data in dropdownlist based on the other without Page Refresh | poornima | ASP and ASP.NET Programming | 2 | 03-15-2008 01:38 AM |
| Describe some problem that you had with automating testing tool? | devarajan.v | Software Testing | 1 | 07-27-2007 06:04 AM |
| How did you see automating testing tools in your job? | devarajan.v | Software Testing | 1 | 07-27-2007 04:32 AM |
Our Partners |