sql-data-warehouse

Table Variables in Azure Data Warehouse

谁都会走 提交于 2021-02-16 15:58:20
问题 In a SQL Server database, one can use table variables like this: declare @table as table (a int) In an Azure Data Warehouse, that throws an error. Parse error at line: 1, column: 19: Incorrect syntax near 'table' In an Azure Data Warehouse, you can use temporary tables: create table #table (a int) but not inside functions. Msg 2772, Level 16, State 1, Line 6 Cannot access temporary tables from within a function. This document from Microsoft says, ◦Must be declared in two steps (rather than

not able to install SSDT for visual studio 2017 professional

早过忘川 提交于 2019-12-23 23:14:59
问题 Need your help I have successfully installed VS2017 on my computer . But when I tried to install SQL server data tools 15.6.0 or 15.5.1 it gives me error as below : Setup failed The configuration registry key could not be opened(0x800703F3) Thanks All!! 回答1: The latest version (15.6) of SSDT is incompatible with the latest version (15.7) of Visual Studio 2017. You currently have two choices: Wait for an updated version of SSDT or VS2017 to be released, or Completely uninstall VS2017 and

not able to install SSDT for visual studio 2017 professional

落花浮王杯 提交于 2019-12-23 22:35:21
问题 Need your help I have successfully installed VS2017 on my computer . But when I tried to install SQL server data tools 15.6.0 or 15.5.1 it gives me error as below : Setup failed The configuration registry key could not be opened(0x800703F3) Thanks All!! 回答1: The latest version (15.6) of SSDT is incompatible with the latest version (15.7) of Visual Studio 2017. You currently have two choices: Wait for an updated version of SSDT or VS2017 to be released, or Completely uninstall VS2017 and

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