When using EF to create a new database, the following code gets executed (my database name is "SnapshotIsolationTest"):<br /><br />create database [SnapshotIsolationTest]<br />if serverproperty('EngineEdition') <> 5 alter database [SnapshotIsolationTest] set read_committed_snapshot on<br /><br />Azure returns the following error:<br />"The CREATE DATABASE statement must be the only statement in the batch."
↧