azure-sqldw

Azure SQL Data Warehouse ''NoCount' Error

筅森魡賤 提交于 2019-12-01 18:10:01
I just got approved for the Azure SQL Data Warehouse Preview, and just finished "provisioning" my new server and database. I followed a link to a 'Getting Started' page from Microsoft ( Get started: Connect ... ), and read that the two best (only?) ways of querying the database were through sqlcmd and Visual Studio 2013. I ignored this advice first, and fired up SSMS, connected to the database, and then tried to open a new query window. I immediately received the following error: 'Unable to apply connection settings. The detailed error message is: 'NoCount' is not a recognized option.' After

Azure SQL Data Warehouse ''NoCount' Error

你说的曾经没有我的故事 提交于 2019-12-01 16:41:32
问题 I just got approved for the Azure SQL Data Warehouse Preview, and just finished "provisioning" my new server and database. I followed a link to a 'Getting Started' page from Microsoft (Get started: Connect ...), and read that the two best (only?) ways of querying the database were through sqlcmd and Visual Studio 2013. I ignored this advice first, and fired up SSMS, connected to the database, and then tried to open a new query window. I immediately received the following error: 'Unable to

Using Polybase to load data into an existing table in parallel

可紊 提交于 2019-12-01 01:26:23
Using CTAS we can leverage the parallelism that Polybase provides to load data into a new table in a highly scalable and performant way. Is there a way to use a similar approach to load data into an existing table? The table might even be empty. Creating an external table and using INSERT INTO ... SELECT * FROM ... - I would assume that this goes through the head node and is therefore not in parallel? I know that I could also drop the table and use CTAS to recreate it but then I have to deal with all the metadata again (column names, data types, distributions, ...). You could use partition

Simple Performance Test on Azure SQL Data Warehouse

喜你入骨 提交于 2019-11-30 16:03:21
We are working to port existing applications to Azure SQL Data Warehouse. In order to better understand the performance/workload management characteristics/capabilities of Azure SQL Data Warehouse, I have set up what I consider a very simple test. I loaded a static table, our business's calendar, containing about 20k rows (i.e., very small for a parallel data warehouse). I then generated all the possible queries of that single table using a pattern like: SELECT current_timestamp,COUNT(1) FROM ( SELECT C1, ..., Cn , COUNT(1) AS _A_ROW_COUNT FROM schema.view_to_table GROUP BY C1, ..., Cn) DER

Simple Performance Test on Azure SQL Data Warehouse

让人想犯罪 __ 提交于 2019-11-29 23:14:12
问题 We are working to port existing applications to Azure SQL Data Warehouse. In order to better understand the performance/workload management characteristics/capabilities of Azure SQL Data Warehouse, I have set up what I consider a very simple test. I loaded a static table, our business's calendar, containing about 20k rows (i.e., very small for a parallel data warehouse). I then generated all the possible queries of that single table using a pattern like: SELECT current_timestamp,COUNT(1) FROM

Aggregate strings in Azure SQL Data Warehouse

99封情书 提交于 2019-11-28 09:52:18
问题 Is there a way to aggregate strings in Azure SQL Data Warehouse similar to the string_agg function in SQL Server? I have records with strings that I want to concatenate into a single string. SELECT string_agg(string_col, ',') FROM table1 https://docs.microsoft.com/en-us/sql/t-sql/functions/string-agg-transact-sql 回答1: Update Jan 2019: As at Jan 2019 STRING_SPLIT is available in SQL Data Warehouse as per here. Update Jul 2019: As at Jul 2019 STRING_AGG is available in SQL Data Warehouse as per