I am trying to create a database programmatically in C#. I have scripts for database creation which work fine when I run them from SQL Server Management Studio. However, when I run the same scripts fr
After installing SQL Server 2005, I tried to create a new databas开发者_高级运维e (command: create database database_name). But the message was an error: permission denied to create a database in \'ma