How to create External table with different collation in synapse

 We can’t create external tables with a different collation on the table level, collation is only applicable on the column level in the external tables. See the below example reference. USE [mydbname];GOCREATE EXTERNAL TABLE populationExternalTable([country_code] VARCHAR (5) COLLATE Latin1_General_100_CI_AI_SC_UTF8,[country_name] VARCHAR (100) COLLATE Latin1_General_100_CI_AI_SC_UTF8,[year] smallint,[population] bigint)WITH (LOCATION = ‘csv/population/population.csv’,DATA_SOURCE = sqlondemanddemo,FILE_FORMAT = QuotedCSVWithHeaderFormat); See this microsoft…

By Bhargava March 21, 2023 0

Azure Synapse Error : Could not allocate a new page for database ‘tempdb’ because of insufficient disk space

While creating NonClustered Index in synapse dedicated SQL pool, getting the below error:Could not allocate a new page for database ‘tempdb’ because of insufficient disk space in filegroup ‘PRIMARY’. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.…

By Bhargava March 19, 2023 0

azure sql server vs synapse dedicated sql pool

Azure Synapse Dedicated SQL Pool Azure Synapse Dedicated SQL Pool (Previously Azure SQL Data Warehouse), a massively parallel processing database similar to other columnar-based scale-out database technologies such as Snowflake, Amazon Redshift, and Google BigQuery. To the end-user it is much like a traditional SQL Server, however, behind the scenes it distributes the storage and…

By Bhargava February 21, 2023 0