Failure to CREATE TABLE in SQL Azure database using SMO
问题 Since USE [dbname] is not supported in SQL Azure, I'm trying to connect to my SQL Azure database by specifying the database name in the connection string and then executing CREATE TABLE... script. However, this fails with System.Data.SqlClient.SqlException "CREATE TABLE permission denied in database 'master'." What am I doing wrong here that it is trying to execute this statement against master? Here is a sample C# code: string connectionString = @"Data Source=tcp:MYSERVER.database.windows