{"url":"https://fyts.hatenadiary.org/entry/20090224/break","description":"SQL Server \u3067\u6539\u884c\u6587\u5b57\u3092 INSERT (UPDATE) \u3057\u305f\u3044\u306a\u3068\u3001\u8abf\u3079\u305f\u3068\u304d\u306e\u30e1\u30e2\u3067\u3059\u3002 C++ \u3084 C# \u306a\u3069\u3067\u3088\u304f\u4f7f\u3046\u30a8\u30b9\u30b1\u30fc\u30d7\u30b7\u30fc\u30b1\u30f3\u30b9\u300c\\n\u300d\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u5fd8\u308c\u3084\u3059\u3044\u3067\u3059\u306d\u3002\u6539\u884c\u6587\u5b57\u306f\u3001 CR LF \u306e\u30a2\u30b9\u30ad\u30fc\u30b3\u30fc\u30c9\u300cNCHAR(13) + NCHAR(10)\u300d\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001\u4f7f\u7528\u4f8b\u3067\u3059\u3002 -- varchar \u306e\u5834\u5408\u306f CHAR() \u3001 nvarchar \u306e\u5834\u5408\u306f NCHAR() \u3092\u4f7f\u7528 UPDATE Items SET note = N'1\u884c\u76ee' + NCHAR(13) + NCHAR(10) + N'2\u884c\u76ee'","image_url":null,"blog_title":"\u30a2\u30b8\u30e3\u30a4\u30eb\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u65e5\u5e38","published":"2009-02-24 00:00:00","type":"rich","title":" Transact-SQL \u3067\u6539\u884c\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u65b9\u6cd5","author_url":"https://blog.hatena.ne.jp/fyts/","blog_url":"https://fyts.hatenadiary.org/","height":"190","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffyts.hatenadiary.org%2Fentry%2F20090224%2Fbreak\" title=\" Transact-SQL \u3067\u6539\u884c\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u65b9\u6cd5 - \u30a2\u30b8\u30e3\u30a4\u30eb\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u65e5\u5e38\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["\u958b\u767a","SQL","Memo"],"author_name":"fyts"}