Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

t-sql backup and restore

Name: slanky 2009-08-03 21:48

I need to restore 1 database from another database on a schedule once a week.  How can I do this with either a management plan in Microsoft SQL server 2005 management studio or with t-sql commands?  The main concern is that both databases use more than one data file and are named differently.  How do I make sure the restore goes to data files with the correct database name?

Name: Anonymous 2009-08-03 21:53

database script?

Name: slanky 2009-08-03 22:07

Wanna be a little more specific?

Name: Anonymous 2009-08-03 22:10

>>3
figure out how to export or generate an sql script from your database.
google is your friend

Name: slanky 2009-08-04 0:43

I'm aware of how to do this.  The script it generates doesnt seem to take filenames into account.

Name: Anonymous 2009-08-04 1:04

if(suck.dicks.dicks.dicks.dicks.dicks.dicks.dicks.dicks.dicks.dicks.dicks.dicks.dicks.dicks.dicks.dicks.dicks) throw new NullPointerException();
Exception in thread "main" java.lang.NullPointerException at dicks.java(dicks.java:1)

Name: slanky 2009-08-04 1:41

Could you at least troll in the correct language?

Name: Anonymous 2009-08-04 3:00

>>6
>throw new NullPointerException
Reactionface.jpeg

Name: Anonymous 2009-08-04 3:44

public static Object nullCoalesce(Object o1, String property) {

Name: Anonymous 2009-08-04 4:11

>>8
back to /g/ please

Name: Anonymous 2010-12-17 1:39

Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?

If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!

Name: Anonymous 2011-02-03 0:54

Don't change these.
Name: Email:
Entire Thread Thread List