January 24, 2011 at 8:33 am
Hey guys . . . I'm trying to copy databases from our host onto our local server(s).
Here's the scenario:
So, what would be the easiest way to go about this? Anyone have any suggestions?
Thanks in advance!
+--------------------------------------------------------------------------------------+
Check out my blog at https://pianorayk.wordpress.com/
January 24, 2011 at 8:41 am
I'd try doing a copy-only backup first. If that fails, then it'll probably be a matter of table-by-table data copying. SSMS for SQL 2008 has features for scripting both structure and data for tables, if the database is small enough for that.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
January 24, 2011 at 8:55 am
Thanks for the assist as always, Gus. I'll try the copy-only option and see what happens.
If that fails, then it'll probably be a matter of table-by-table data copying.
I was kinda afraid you'd say that! Fortunately, the database isn't huge, so this is an option, but like I said, I'm hoping to save myself some effort!
+--------------------------------------------------------------------------------------+
Check out my blog at https://pianorayk.wordpress.com/
January 24, 2011 at 10:33 am
Do you have Visual Studio?
My edition allows me to do a project which scripts out all the objects.
VSTS Database Edition.
Or maybe a trial of a similar tool can work. ;>)
Greg E
January 24, 2011 at 10:44 am
Greg Edwards-268690 (1/24/2011)
Do you have Visual Studio?My edition allows me to do a project which scripts out all the objects.
VSTS Database Edition.
Or maybe a trial of a similar tool can work. ;>)
Greg E
Hmmm, that's true. I didn't even think about that!
In any case, I've already started scripting through SSMS! So far, it seems to be going okay.
Oh well!
+--------------------------------------------------------------------------------------+
Check out my blog at https://pianorayk.wordpress.com/
January 24, 2011 at 1:25 pm
VSTS just automates it, and gets all the objects.
Maybe a bit more important with hundreds of tables.
You didn't say why you were doing this, but the tool can also help manange change from dev to prod for example.
Greg E
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply