適用対象: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (PDW) Microsoft Fabric のSQL 分析エンドポイント Microsoft Fabric のウェアハウス これらの関数は、あるデータ型の式を別のデータ型に変換します。 構文 CAST 構文: CAST ( expression AS data_type [ ( length ) ] ) CONVERT 構文: CONVERT ( data_type [ ( length ) ] , expression [ , style ] ) Transact-SQL 構文表記規則 引数 式 (expression) 任意の有効な式。 data_type 対象
照合順序の確認 照合順序の確認を行うには osql で以下のクエリを実行する。 デフォルトの確認 Select SERVERPROPERTY('collation') データベース毎の確認 Select DATABASEPROPERTYEX('db_name', 'collation') 照合順序の設定 特定の照合順序を明示的に指定して DB やテーブルを作成する。 CREATE TABLE t1 (c1 nvarchar (16) COLLATE Japanese_BIN) 各 Collation の意味 日本語の照合順序は以下のような書式であらわされている。 書式: Japanese_BIN 書式: Japanese_(CI | CS)_(AI | AS)[(_KS | _WS | _KS_WS)] この Japanese_ の後に続く BIN や CI といったキャラクターに意味があ
誰も知らないメモリ・チューニングの極意を教えよう:Dr. K's SQL Serverチューニング研修(2)(1/3 ページ) SQL Serverは一般的にチューニング不要のデータベースと認識されている。しかし基幹系業務システムへの導入が進むにつれて、パフォーマンス・チューニングのニーズは急速に高まってきた。そこで本記事では、日本におけるSQL Serverコンサルタントの第一人者、熊澤幸生氏にSQL Serverチューニングのノウハウを語っていただくことにした。インタビュアーはSQL Serverへの造詣が深いITジャーナリスト、工藤淳氏が担当する。(編集局) 前回「SQL Serverというブラックボックスを開いてみる」では、メモリ管理がなぜパフォーマンス・チューニングを考えるうえで重要なのかをお話ししました。今回からはいよいよ具体的な例を紹介しながら、実践で使えるノウハウを見ていき
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く