WPBP.NET

Just another WordPress site

You are currently browsing the SQL Azure category.

コマンドラインからの接続

コマンドラインを立ち上げて、下記を発行するとSQL Azureに接続できます。

>sqlcmd -U <管理ユーザ名>@<サーバの名前> -P <パスワード> -S 完全修飾DNS名 -d <データベースの名前> -N

-U  名前付きインスタンスに接続
-P  ユーザーが指定するパスワード
-S  接続先となる SQL Server のインスタンス
-d  データベースが指定
-N  暗号化された接続を要求

 
<<参考にした記事>>
SQL Azureを実際に活用する
www.atmarkit.co.jp/fdotnet/dnfuture/winazureplatform_03/winazureplatform_03_01.htmlsqlcmd ユーティリティ
msdn.microsoft.com/ja-jp/library/ms162773.aspxsqlcmd ユーティリティの使用
msdn.microsoft.com/ja-jp/library/ms180944(SQL.105).aspx

Posted 4月 28th, 2011.

Add a comment

あったら便利なSSMS

SQL Azureには、コマンドラインからの接続も可能です。

2008 SQL Server Management Studioは、下記サイトからダウンロードします。

www.microsoft.com/downloads/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b&displayLang=ja

接続時のダイアログが表示されるので、SQL Azureで設定されている情報を入力します。

<<参考記事>>
SQL Server Management Studio の使用
msdn.microsoft.com/ja-jp/library/ms174173.aspx



Posted 4月 28th, 2011.

Add a comment