No Common Table Expression in Azure Data Studio? - common-table-expression

Im using Azure Data Studio on my mac and I'm getting an error when trying to create a simple Common table expression. Does Azure Data Studio not have CTE'S?
[1]: https://i.stack.imgur.com/T6fOI.png

Related

AWS Glue Studio output schema

Exists a faster way in Glue Studio to get the output schema?
Today I have to run the Data Preview to get the schema.

Google Data Studio error when trying to access BigQuery table sources from Google Drive Spreadsheet

I created a BigQuery table from Google Sheet.
When I am trying to query this table from BigQuery - everything is ok.
In the Data Studio, I've created a data source that calls that BigQuery Table, but when I'm attempting to use this data source in a report - I get an error.
Then I checked the Query history in BigQuery to see how Data Studio tries to access it, I saw this error message:
Error while reading table: dataset.Table_sheet, error message: Failed
to read the spreadsheet. Error code: PERMISSION_DENIED
The same query when I run it directly in BigQuery works just fine, but not when I access it from Data Studio.
The solution to the problem - surprised me =).
Dear stranger, you should go to the data studio and create a data source directly from the Google Spreadsheets - you will be prompted to authorize Data Studio to access your Google Drive. After granting access to this new data source - the one you created before will be able to query the table as expected. Seems like a workaround, but it works.

ERROR: Write access to member SASUSER.MYSALESDATA.DATA when using enterprise version of SAS

I have two servers registered on SAS. When trying to create a SASUSER table in one server, it allows me and it gets created however on the other server when I try to create a sasuser table i get the following error:
ERROR: Write access to member SASUSER.Mytable
I am using SAS enterprise version and not the university edition.
How can I enable my write accesses on the other server?

Analysis Services Tabular 1400 project - not a valid data source - ADLS data source

Since 08 May 2018 there seems to be an issue with Azure Data Lake Store data source using Microsoft Analysis Services Project extension.
We are using ,
Visual Studio 2017 15.7.1
Microsoft Analysis Services Projects 1.26 Extension
Tabular model compatibility level 1400
We get the below error when we try to open the Model.bim from an already existing project.
The given data source reference is not a valid data source
We only have one data source which is an Azure Data Lake Store.
If we click OK and proceed it throws error This model is already open in another location by the same user, please close the other project before working on this one.
So we deleted the Model.bim_xx.settings and tried again it throws "….not a valid data source" error
We also tried to create a brand new Analysis Services Project (Tabular model) and tried to do Import from Data Source - then select Azure Data Lake Store - sign in - It connects successfully - doesn't go into Power Query editor
When click OK - there is nothing under Data Source - in Tabular Model Explorer
If we try anything after clicking OK - VS 2017 crashes.
This is acknowledged as an issue in Microsoft Analysis Services Projects Extension version 1.26 - Microsoft are working on it.
Uninstall version 1.26 and re-install 1.25. You may need to request the .vsix file for version 1.25 from extension team. Contact them in the respective Visual Marketplace page.
https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftAnalysisServicesModelingProjects

How can I install a shared data source with no credentials in SSRS

I'm using SQL Server 2005 with Reporting Services. I have many reports installed, some using shared data sources and some not; some go to web services, some to sql server databases, and now I'm trying to connect to a DB2 database.
I have successfully created a shared data source and report in Visual Studio 2005. I can pull data just fine and display it on my report in the designer. I am now trying to install the report and datasource through the ssrs web service (the same way I have for all other reports).
The problem is that most of our data sources use Integrated Security, and for this data source I am using 'Credentials are not required' since they are listed in the connection string. Here's my install code:
Dim definition As New ServiceProxy.DataSourceDefinition
definition.ConnectString = connectionStringIncludingUsernameAndPassword
definition.Extension = "OLEDB"
definition.CredentialRetrieval = ServiceProxy.CredentialRetrievalEnum.None
ServiceWebService.CreateDataSource(dataSourceName, containingFolderFromRoot, True, definition, Nothing)
This also works fine and gives no errors, and appears to create the datasource properly in ssrs. But when I go to run the report I get this error:
The current action cannot be completed
because the user data source
credentials that are required to
execute this report are not stored in
the report server database.
(rsInvalidDataSourceCredentialSetting)
My report is properly connected to my data source, and my data source is properly set to credentials not required, so it is all the same as it is inside Visual Studio. I'm out of ideas.
The problem was several fold:
the user name and password were listed in the connection string instead of inside the server
the db2 connect software installed on the report server was out of date (8 instead of 9)
the user group 'DB2Users' did not have any members
After correcting these problems, the report works!