How do I specify a recovery model (full, simple or bulk-logged) when creating a database in a CREATE DATABASE query in T-SQL code?
views:
35answers:
1
+4
A:
You can't in TSQL, it's part of ALTER DATABASE not CREATE DATABASE.
However, it will inherit the setting from the Model system database, so change that to what you want if it's a common setting.
Meff
2010-05-08 18:15:08