{"published":"2014-09-16 15:37:15","provider_name":"Hatena Blog","height":"190","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/A/AJYA/20140602/20140602053633.jpg","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fajya.hatenablog.jp%2Fentry%2F2014%2F09%2F16%2F153715\" title=\"SQL Server\uff1a\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3057\u305f\u5f8c\u306e\u3001\u81ea\u52d5\u3067\u30ab\u30a6\u30f3\u30c8\u30a2\u30c3\u30d7\u3055\u308c\u305f\u5024\u306e\u53d6\u5f97\u65b9\u6cd5 - \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u8005\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>","title":"SQL Server\uff1a\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3057\u305f\u5f8c\u306e\u3001\u81ea\u52d5\u3067\u30ab\u30a6\u30f3\u30c8\u30a2\u30c3\u30d7\u3055\u308c\u305f\u5024\u306e\u53d6\u5f97\u65b9\u6cd5","categories":["SQL Server","PHP"],"width":"100%","blog_title":"\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u8005\u306e\u65e5\u5e38","description":"\u4ee5\u524d\u51fa\u6765\u3066\u3044\u305f\u3068\u8a18\u61b6\u3057\u3066\u3044\u308b\u65b9\u6cd5\u3068\u306f\u9055\u3046\u65b9\u6cd5\u3067\u51fa\u6765\u307e\u3057\u305f\u3002 \u8a18\u61b6\u3057\u3066\u3044\u305f\u65b9\u6cd5PHP\u3067SQL Server\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3057\u3066\u3001\u81ea\u52d5\u3067\u30ab\u30a6\u30f3\u30c8\u30a2\u30c3\u30d7\u3055\u308c\u308b\u30ab\u30e9\u30e0\u306e\u3001\u30ab\u30a6\u30f3\u30c8\u30a2\u30c3\u30d7\u3055\u308c\u305f\u5024\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u306f\u3001 INSERT INTO table1(column1) VALUES ('abc'); SELECT SCOPE_IDENTITY() AS id; \u3068\u8a18\u61b6\u3057\u3066\u3044\u3066\u3001\u305d\u306e\u901a\u308a\u306b\u8a18\u8ff0\u3057\u305f\u3089\u6b63\u5e38\u306b\u5024\u304c\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002 \u8abf\u3079\u305f\u65b9\u6cd5\u4ed6\u306e\u65b9\u6cd5\u304c\u3042\u308b\u306e\u304b\u3068\u601d\u3044\u8abf\u3079\u305f\u3089\u3001 INSERT INTO table1(column1) OUTPUT INSERTED.id VALUES ('abc')\u2026","author_name":"AJYA","author_url":"https://blog.hatena.ne.jp/AJYA/","type":"rich","blog_url":"https://ajya.hatenablog.jp/","version":"1.0","provider_url":"https://hatena.blog","url":"https://ajya.hatenablog.jp/entry/2014/09/16/153715"}