@op: YOu should consider the fact that objects from the model db are copied
when creating a new database. THat builds the basis forall new database. SO
if you wantto make sure thataspecial object should reside in every new
database, just create it there and all followingnew dbs will contain this.
--
HTH, Jens Suessmeyer.
---
http://www.sqlserver2005.de ---
"Armando Prato" <aprato@REMOVEMEkronos.com> schrieb im Newsbeitrag
news:e8rGrn2dFHA.2420@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view] > via query analyzer to create a bare bones db with defaults:
>
> create database mydatabase
>
> Look up CREATE DATABASE in BOL for a full, rich set of options
>
> "Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
> news:eqOjij2dFHA.1456@TK2MSFTNGP15.phx.gbl...
>> I want to create an empty SQL Server database with nothing in it so that
>> I
>> can add tablesand other stuff to it using sql code. How do I do this?
>> --
>> Nathan Sokalski
>> njsokalski@hotmail.com
>>
http://www.nathansokalski.com/ >>
>>
>
>