0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

デバッグ時に見やすいようにSQL文を書くには?

Posted at
@をつけよう!

普段は、
SQLServerでSQL文書く → VSに張り付ける
って感じでやってるんで、これが一番楽に感じます。

おすすめあったら教えてください。

--- 書き方

        private readonly string InsertQuery = @"INSERT INTO M_User
	(UserId
	,Password)
VALUES
	(@UserId
	,@Password)";

--- デバッグ時

INSERT INTO M_User
	(UserId
	,Password)
VALUES
	(@UserId
	,@Password)
0
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?