=== 15a Extract DACPAC from lab-cst
Resolving references in schema model
Validating schema model for data package
Validating schema
Successfully extracted database and saved it to file 'results/15_artifacts/cst.dacpac'.
Time elapsed 0:00:12.12
--- TIME_ZONE in dacpac model.xml:
23-
24-
25:
26-
27-
28-
29-
--
5054-
5055-
5056:
5057-
5058-
5059-
5060-
--
5792-
5793-
5794:
5795-
5796-
5797-
5798-
--
5942-
5943-
5944:
5945-
5946-
5947-
5948-
--
5951-BEGIN
5952- SET NOCOUNT ON;
5953: SELECT ' proc without SET inherits caller' AS step, CURRENT_TIMEZONE_ID() AS tz_id, SYSDATETIMEOFFSET() AS now_offset;
5954-END;]]>
5955-
5956-
5957-
--
=== 15b Export BACPAC from lab-cst
Error SQL46010: Procedure: [tzlab].[usp_Nested] contains a statement that is not supported on Microsoft Azure SQL Database v12. The specific error is: Incorrect syntax near 'TIME'.
Error SQL46010: Procedure: [tzlab].[usp_ReportInTokyo] contains a statement that is not supported on Microsoft Azure SQL Database v12. The specific error is: Incorrect syntax near 'TIME'.
Error SQL46010: Trigger: [tzlab].[trg_TriggerTarget_Audit] contains a statement that is not supported on Microsoft Azure SQL Database v12. The specific error is: Incorrect syntax near 'TIME'.
Time elapsed 0:00:12.66
--- TIME_ZONE in bacpac model.xml:
=== 15c Generate deploy script (not executed) from cst.dacpac against lab-utc
Generating publish script for database 'lab-utc' on server 'your-server.database.windows.net'.
Successfully generated script to file results/15_artifacts/deploy_to_utc.sql.
Time elapsed 0:00:21.38
--- TIME_ZONE lines in generated deploy script:
44: ALTER DATABASE SCOPED CONFIGURATION SET TIME_ZONE = CENTRAL STANDARD TIME;
=== 15d Parse-only check of the scripted TIME_ZONE line (SET PARSEONLY ON, nothing executes)
statement under test: ALTER DATABASE SCOPED CONFIGURATION SET TIME_ZONE = CENTRAL STANDARD TIME;
Msg 102, Level 15, State 1, Server your-server, Line 1
Incorrect syntax near 'CENTRAL'.
(no output above = parsed OK)
--- Control: same check with a correctly quoted statement
(no output above = parsed OK)
--- UTC database TIME_ZONE must still be LOCAL after the parse checks:
name value
---- -----
TIME_ZONE LOCAL