all groups > sql server (alternate) > february 2004 >
You're in the

sql server (alternate)

group:

DB Questions


DB Questions akchandru NO[at]SPAM hotmail.com
2/29/2004 9:44:16 AM
sql server (alternate):
1. If the TempDB Database is deleted from MS-SQL Server what will
happen..?
2. How to insert a not null column in an existing table with
records..?
3. If a table is deleted, what will happen for the Stored procedures
Re: DB Questions David Portas
2/29/2004 6:18:28 PM
1. TempDB will be re-created automatically when you restart SQLServer. You
can't delete TempDB while SQLServer is running.

2. Either assign a DEFAULT value to the column, or make it nullable to start
with, populate the column and then alter it to NOT NULL.

3. Dependent SPs and views won't be deleted but they will generate an error
when they are used.

--
David Portas
SQL Server MVP
--

AddThis Social Bookmark Button