Is SQL Language Based Procedure feature now in Public preview - snowflake-cloud-data-platform

This is simple query and would like to know from Snowflake team here , is SQL language based procedure now available in Snowflake public preview?

As of 2021-07-04 it seems that SQL for stored procedures hasn't been released for public preview yet.
The actual list of preview features could be found at:
Preview features
I would also recommend to observe Release Notes webpage.

Related

TFS Dashboard Widgets: Query the TFS_Warehouse db?

(Warning: SQL Server expert, TFS Dashboard Widget Noob)
My workplace has a TFS setup (version 15.117.27024.0) where there are dashboards with widgets where we can use Shared Queries as a data source. No problems here.
Question: Is it possible to configure a widget so that the source query is a custom Stored Procedure in TFS_Warehouse?
Thanks in advance.
Jim
I am not aware of a way to return the results of a stored proc in the TFS_Warehouse or other DB directly from a widget.
We use Otto Streifel's Wiql Editor extension (source) which allows us to write WIQL queries instead of clicking our way through the GUI that is provided to create our shared queries. The syntax is similar to SQL, but it is more limited than a SQL stored proc would be. Even so, we have been able to write some robust queries to create some very useful widgets. (For example to break out how many hours we have planned/worked based on tags applied to our work items)
The only other solution I could think of would be to use a Embedded Web page widget that would call the stored proc and display the results.

Can SonarQube analyse T-SQL stored procedures for Microsoft SQL Server?

I got a new task as follows:
Export stored procedures on a daily basis from db
Run them through sonarqube to analyze
I am not a db expert but working in DevOps team. Can anyone tell me if SonarQube supports the analysis of T-SQL stored procedures? If not, which tool does? I see only PL/SQL here in the supported language list: http://docs.sonarqube.org/display/PLUG/Plugin+Library
This one looks promising
https://github.com/gretard/sonar-tsql-plugin
(still in beta version as of now)
All plugins supported by SonarQube team & community are listed in documentation: http://docs.sonarqube.org/display/PLUG/Plugin+Library
You should search for plugins by other companies. I found only TechCognia's TSQL Plugin.

How do I set remove the database name from the query in Crystal Reports?

We are a development firm integrating Crystal Reports 2013 into our software. I need the ability to remove the database name from the SQL Query generated by Crystal Reports. We have customers running multiple instances of our software using the same data server. So we need to remove the database name so when it connects it uses the database specified in our file.dsn for an ODBC connection. We are using SQL Server as our data source. Any help would greatly be appreciated.
It depends on how you're using Crystal (this answer may or may not apply to your scenario). If you're using the .Net objects (in VB or C#) and programming against them you can switch out your connection information programmatically. It is finicky about the order in which you do it (e.g. you need to change the connection in the report and all sub reports, etc.).
I have two blog posts that have VB and C# with them that address changing database/connection dynamically through code, they are a few years old but they should still apply:
http://www.blakepell.com/2012-05-22-crystal-reports-extension-methods
http://www.blakepell.com/2010-09-17-crystal-reports-changing-the-database-connection-from-net-subreport-links-and-the-case-of-the-missing-parameter-values
On a side note, if you don't like the SQL that Crystal Reports generates you can always use a "Command" where you input your own SQL and then Crystal treats it kind of like a table (or you can take the SQL it generates to get your started and alter it to your liking, copy it, change it, then create a command with it).
Crystal reports uses that query for generating the schema for the report which you can change the connection or change the query inside the code of software but the schema should be the same,
perhaps you are not setting the connection of report by code successfully, you have to set the parameters and change the connection inside the code which loads the report if you do this successfully then you'll see the report.

Is there any public SQL Server with sample databases

I study the SQL Server technologies, and want to try connect to remote server.
Did anybody knows a public server with sample databases for testing?
The Google didn't help me, at the moment.
SQLFiddle.com
If you want help with a tricky query, and you'd like to post a question.
If you need to build a representative database (schema and data) and post a link to it in your question.
If you want (a) unique URL(s) for each database (and each query) will be generated as you use the site.
If you want to compare and contrast SQL statements in different database back-ends.
If you do not have a particular database platform readily available, but you would like to see what a given query would look like in that environment.
A view solutions from researchgate:
https://www.freemysqlhosting.net/
https://cloud.google.com/sql/
https://www.freesqldatabase.com/
https://free.caspio.com/
https://elements.heroku.com/addons/heroku-postgresql

Simpler interface for SQL Server analysis services cubes for end users

Is there a simpler interface for end users to run "queries" on pre-existing SqlServer Analysis Service cubes? I'm looking for a way to deploy the cubes and allow the users to work with the data through a simpler interface than BIDS. Is this even possible?
I would recommend Excel too. It is an environment that your users are familiar with anyway, and they will be able to perform additional analysis (totals etc) without learning any new interfaces.
However, I would advise against pivot tables as a method of getting the data into Excel. I once worked on a project using pivot tables, and it was a filthy nightmare. The more recent versions of Office have a slightly different tool called "Microsoft Office Excel Add-in for SQL Server Analysis Services" which can get OLAP data into Excel. I downloaded XLAddinSetup.msi for Excel 2002/3 or you can use this method for Excel 2007.
You can use Excel with pivot tables for that, no need to write any queries at all, they can drill down to all the data they need
There's a couple of End User Reporting Tools around.
Our tool - RSinteract, is quite cheap and effective. It uses an AJAXy web interface so no need to install on the client and has drag and drop functionality similar to the other tools. It also has a 30 day evaluation.
There are many, many tools. An incomplete overview can be found here: http://www.ssas-info.com/analysis-services-client-tools-frontend
Dundas has a set of tools that let you drag and drop dimensions/hierarchies/measures to create visualizations like charts and/or grids. The product name is Dundas Chart for ASP.NET Enterprise Edition, and it has a free demo.
ProClarity also had a suite of tools. Not sure how you get those tools any longer, but I think they are part of MSDN now.
As stated by Jay, there are several client tools you can use to query the cubes that give the end user the ability to drag and drop dimensions for ad-hoc querying.
ProClarity has been acquired by Microsoft, and most of the functionality is being incorporated into PerformancePoint
Panorama Software (original developers of Analysis Services) also provide access with their NovaView products
Another option is Report Builder, that comes for free with SQL Server.
Though the SQL Server 2005 version is a bit cranky, the new release with SQL Server 2008 seems to work much better.
Although it isn't as flexible as excel for ad-hoc queries,it comes very handy for some scenarios.

Resources