Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 new database issue.

Author  Topic 

karthik_padbanaban
Constraint Violating Yak Guru

263 Posts

Posted - 2009-05-07 : 03:16:24
Hi

when ever I create a new datbase a table named test and stored procedure named sp_test is creating automatically
I dont know how it is creating and I am sure that it is not there in any part of my code.

I dont need that.

How to find and avoid that thing. Please help.



Karthik

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2009-05-07 : 03:25:32
check the model database. Whenever you create a new database, SQL Server copy it from model


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

karthik_padbanaban
Constraint Violating Yak Guru

263 Posts

Posted - 2009-05-07 : 10:03:46
quote:
Originally posted by khtan

check the model database. Whenever you create a new database, SQL Server copy it from model


KH
[spoiler]Time is always against us[/spoiler]





Thanks for your reply. I had tables in model database that is the problem.
thank you

Karthik
Go to Top of Page
   

- Advertisement -