SELECT city, STRING_AGG (name, ';' ) WITHIN GROUP ( ORDER BY name ASC ) AS names FROM Students GROUP BY city;
In the above example, all names have been paired and separated by a semicolon (;).The clause WITHIN GROUP helps us to sort in order.The returned result will be displayed as follows:
New points in SQL Server 2017 Picture 2
What's new in SSRS (Reporting Services) of SQL 2017
From now on, setting up SSRS is no longer available on SQL Server settings, you need to download it from the download store [here].
From now on, the Query designer will support DAX.Native DAX queries can be created to prevent SSAS (analysis services).This feature will appear on the latest updates of SQL tools and report builders.
OpenAPIcommandsare supported by RESTful API, and now RESTful API is supported by SSRS.
From now on, you can attach more files to your comments.
You can also add comments to the reports.
The reporting service portal has been significantly upgraded (this feature is available in SQL 2016).
What's new in SSIS (Integrated Services) in SQL 2017
From now on you can perform SSIS on Linux, increase volume, and extract and convert data directly on Linux.
The scaling feature allows complex integrated systems with many high-performance machines.The scaling feature can perform all operations with the help of Scale Out Master and Scale Out Workers.
What's new in Analysis Services (SSAS) in SQL 2017?
The new interface of Get Data is released on SQL 2017 similar to MS Excel, power BI.In addition to data transformation and data mashup features have also appeared, you can do that using the query generator and the M expression.
Tabular modefor SSAS - an empire introduced in SQL 2012, has now been upgraded significantly in SQL 2017.
SQL 2017 offers new Encoding hints, which are used to optimize table data in large memory.
Improve performance for PIVOT.
Machine Learning
We all know that SQL 2016 currently supports R services, and from now on, this service will be renamed to SQL Server Machine learning services.The benefit from this change is that you can easily use the system of R or Python commands on SQL Server.
With this new feature, Python can run in stored procedures.You can even execute commands remotely via SQL Server, which is really useful for Python developers.However, this feature is currently not supported on Linux yet, please wait for the next upgrade.
To use machine learning in a more efficient and optimal way, SQL uses the following solutions:
revoscalepy is a new type of library that serves as the foundation for high-performance algorithms, calculations and remote situations. Basically revoscalepy isbased on the RevoScaleR platform (an R service pack).
microsoftml is a Microsoft R server cluster that supports machine language algorithms, Microsoft has developed this library for machine learning internally.But over the years, it has improved and nowmicrosoftmlsupports fast data transfer as well as conversion of large documents, etc.
Linux support
Basically, right from the name"SQL 2017 on Linux and Windows" we can know thatthe main purpose of this upgrade is to support the release of products on the Linux platform.Here are some key features of "SQL on Linux":
Ability to store core databases
Support IPV6
NFS support
Verify AD on linux
Support encryption
Can install SSIS on Linux
MSSQL-conf command tool is available
Seamlessize and liberalize the installation process
SQL for Visual studio core (VS core is available on Linux)
Cross platform script generator
summary
There will be a lot more to say and learn about SQL Server, we will continue this journey in the next sections.Do not hesitate to ask for comments and questions!