Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-sqlserver > #1801

Re: 'Import' scripted DB ?

Newsgroups comp.databases.ms-sqlserver
Date 2014-08-22 08:58 -0700
References (1 earlier) <XnsA38B6F1513E6AYazorman@127.0.0.1> <53ef9675$0$23649$edfadb0f@dtext02.news.tele.dk> <XnsA38BDCDB39B2BYazorman@127.0.0.1> <53f0f0d8$0$23639$edfadb0f@dtext02.news.tele.dk> <XnsA38CD335E7B33Yazorman@127.0.0.1>
Message-ID <553ac560-edff-41ea-98e5-698a54d131f8@googlegroups.com> (permalink)
Subject Re: 'Import' scripted DB ?
From Ross Presser <rpresser@gmail.com>

Show all headers | View raw


On Sunday, August 17, 2014 2:45:46 PM UTC-4, Erland Sommarskog
wrote:

> One thing I forgot to say: add the option -d tempdb, so that the
> script starts running in tempdb. Else if the initial CREATE
> DATABASE statement and/or the USE statement fails, you will litter
> the master database with tons of objects.

What a good idea! I've stomped on my master db several times in the
past. Thanks!

Back to comp.databases.ms-sqlserver | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

'Import' scripted DB ? Mads Aggerholm <mads001@xxxxxhotmail.com> - 2014-08-16 07:09 +0200
  Re: 'Import' scripted DB ? Erland Sommarskog <esquel@sommarskog.se> - 2014-08-16 10:55 +0200
    Re: 'Import' scripted DB ? Mads Aggerholm <mads001@xxxxxhotmail.com> - 2014-08-16 19:36 +0200
      Re: 'Import' scripted DB ? Erland Sommarskog <esquel@sommarskog.se> - 2014-08-16 21:42 +0200
        Re: 'Import' scripted DB ? Mads Aggerholm <mads001@xxxxxhotmail.com> - 2014-08-17 20:13 +0200
          Re: 'Import' scripted DB ? Erland Sommarskog <esquel@sommarskog.se> - 2014-08-17 20:45 +0200
            Re: 'Import' scripted DB ? Ross Presser <rpresser@gmail.com> - 2014-08-22 08:58 -0700
      Re: 'Import' scripted DB ? Lutz <news@invalid.invalid> - 2014-08-18 11:29 +0200
        Re: 'Import' scripted DB ? Erland Sommarskog <esquel@sommarskog.se> - 2014-08-18 10:49 +0000
          Re: 'Import' scripted DB ? Ross Presser <rpresser@gmail.com> - 2014-08-22 08:56 -0700

csiph-web