SE の雑記

SQL Server の情報をメインに Microsoft 製品の勉強内容を日々投稿

Archive for the ‘SQL Server 2016’ tag

SQL Server 2016 CTP 2.0 の JSON サポートを使ってみる

leave a comment

SQL Server 2016 では、クエリの実行結果を JSON の形式で取得することができます。

詳細については、Format Query Results as JSON with FOR JSON (SQL Server) を参照していただければと。
ほかには、JSON Support in SQL Server 2016 も参考になります。

  • CTP 2 では、FOR JSON による出力結果の JSON 形式のサポート
  • CTP 3 では、OPEN JSON による JSON 形式の内容の入力のサポート

が使用できるようです。

日本語ではぺんぺん師匠が解説されているのでこちらも参考になります。
SQL Server 2016でJSONに対応します

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 22nd, 2015 at 8:03 pm

Posted in SQL Server

Tagged with

SQL Server 2016 CTP 2.0 の Row-Level Security を使ってみる

leave a comment

SQL Database v12 ではプレビュー機能として先行実装されていますが、SQL Server 2016 では行レベルセキュリティーの機能が使えるようになります。

詳細については Row-Level Security で。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 14th, 2015 at 4:35 pm

Posted in SQL Server

Tagged with ,

SQL Server 2016 CTP 2.0 の AlwaysOn 可用性グループを使ってみる その 2

leave a comment

前回の投稿では Standard Edition の可用性グループについて投稿しました。

今回は、機能拡張をされたものについて投稿してみたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 14th, 2015 at 3:55 pm

Posted in SQL Server

Tagged with ,

SQL Server 2016 CTP 2.0 の AlwaysOn 可用性グループを使ってみる その 1

leave a comment

SQL Server 2016 では AlwaysOn 可用性グループにいくつかの拡張が入っていますので少し触ってみたいと思います。

詳細について High Availability Enhancements に書かれているものになるかと。
他の機能のように個別ページが見つからなかったのですよね…。

今回の投稿では「基本的な可用性グループ」についてまとめてみたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 13th, 2015 at 9:01 pm

Posted in SQL Server

Tagged with ,

SQL Server 2016 CTP 2.0 の PolyBase で Azure ストレージの BLOB データを操作してみる

2 comments

SQL Server 2016 では PDW に含まれていた、PolyBase の機能が使用できるようになります。
詳細については PolyBase を参照していただければと。
PolyBase では、Hadoop と Azure BLOB ストレージに接続をすることができます。
BLOB ストレージに接続するための手順を軽くまとめてみたいと思います。
手順については、Using #PolyBase in #SQLServer2016? / Polybase in SQL Server 2016 CTP 2 が直近の情報になるかと思います。
去年の情報になりますが PolyBase in APS – Yet another SQL over Hadoop solution? も参考になるかと。
Read the rest of this entry »

Written by Masayuki.Ozawa

6月 11th, 2015 at 10:59 pm

Posted in SQL Server

Tagged with ,

SQL Server 2016 CTP 2.0 の PolyBase をインストールする際の照合順序について

leave a comment

CTP 3.0 では、照合順序の制約はなくなりました。
PolyBase

In SQL16 CTP2.4, the PolyBase feature will support all SQL Server collations.

 
SQL Server 2016 CTP 2.0 では Hadoop や、Azure の BLOB ストレージに対して SQL によりデータを取得することができる PolyBase を使うことができますが、インストール時の照合順序に注意する必要があります。
詳細については SQL Server 2016 PolyBase won’t work on every collation! で紹介されています。
Read the rest of this entry »

Written by Masayuki.Ozawa

6月 11th, 2015 at 12:19 am

Posted in SQL Server

Tagged with ,

SQL Server 2016 CTP 2.0 の Dynamic Data Masking を使ってみる

leave a comment

SQL Database では先行してプレビュー実装されていますが、SQL Server 2016 から Dynamic Data Masking が使用できるようになります。
有効にする方法が SQL Database とは違っているので軽くまとめてみたいと思います。
詳細については Dynamic Data Masking を参照してください。
おださんのブログも参考になります。
SQL Server 2016 CTP2 Dynamic Data Masking が構文エラーになる。。
SQL Server 2016 CTP2 Dynamic Data Masking の構文エラー回避方法
Read the rest of this entry »

Written by Masayuki.Ozawa

6月 8th, 2015 at 9:44 pm

Posted in SQL Server

Tagged with ,

SQL Server 2016 CTP 2.0 の Always Encrypted を使ってみる

one comment

SQL Server 2016 では、常に暗号化した状態でデータをを扱う Always Encrypted を使用することができます。
この機能を少し試してみました。

詳細については、Always Encrypted (Database Engine) を参照してください。

Read the rest of this entry »

Written by Masayuki.Ozawa

5月 31st, 2015 at 7:32 pm

Posted in SQL Server

Tagged with ,

SQL Server 2016 CTP 2.0 の Backup to Microsoft Azure を使ってみる

leave a comment

この機能自体は SQL Server 2012 SP1 CU2 から追加された機能ですが、SQL Server 2016 では機能強化が入っていますので軽く試してみました。
詳細については、 Backup to Microsoft Azure / SQL Server Backup to URL / BACKUP (Transact-SQL) が参考になります。
Read the rest of this entry »

Written by Masayuki.Ozawa

5月 31st, 2015 at 12:10 pm

SQL Server 2016 CTP 2.0 の Stretch Database を使ってみる

leave a comment

SQL Server 2016 CTP 2.0 では、Stretch Database の機能が実装されており、データを SQL Database 上に拡張することができるようになっています。

この機能を少し試してみました。

詳細については、Stretch Database を参照してください。

Read the rest of this entry »

Written by Masayuki.Ozawa

5月 30th, 2015 at 9:39 pm