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.
| Author |
Topic |
|
rubs_65
Posting Yak Master
144 Posts |
Posted - 2004-06-15 : 12:36:57
|
| Hi,I am trying to create filegroups dynamically inside the procedure and getting following error:ALTER DATABASE statement not allowed within multi-statement transactionIt works without begin tran/commit tran but I want it to be part of transaction.Creating filegroup outside the procedure is not an option.Is there any way I can avoid this error inside the transaction?Thanks--Harvinder |
|
|
|
|
|