0
votes

I am facing some problems while creating Azure SQL Datawarehouse database. I am using following query in the Azure SQL Datawarehouse query pane:

CREATE DATABASE TESTDWHDB COLLATE SQL_Latin1_General_CP1_CI_AS (EDITION='datawarehouse', SERVICE_OBJECTIVE = 'DW100', MAXSIZE= 1024 GB);

Error Message:-

Msg 103010, Level 16, State 1, Line 1 Parse error at line: 1, column: 17: Incorrect syntax near 'TESTDWHDB'.

Could anybody help me to resolve this issue?

1
any update for this? - Janley Zhang

1 Answers

0
votes

I have tested your query code in Azure sql Query editor, it works fine to create TESTDWHDB Datawarehouse. And I check your query syntax with this article, it seems that there is no difference. Fore more details about Datawarehouse, you could read this article.

In Azure sql Query editor:

enter image description here

In Azure Sql Server:

enter image description here

In Datawarehouse:

enter image description here