{"provider_name":"Hatena Blog","url":"https://htada.hatenadiary.org/entry/20060815/1155608531","published":"2006-08-15 11:22:11","author_url":"https://blog.hatena.ne.jp/htada/","height":"190","categories":["SQL Server"],"version":"1.0","title":"SQL Server \u30c6\u30fc\u30d6\u30eb\u306e\u5b58\u5728\u78ba\u8a8d","blog_title":"\u305f\u3060\u3076\u308d\u3050","author_name":"htada","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtada.hatenadiary.org%2Fentry%2F20060815%2F1155608531\" title=\"SQL Server \u30c6\u30fc\u30d6\u30eb\u306e\u5b58\u5728\u78ba\u8a8d - \u305f\u3060\u3076\u308d\u3050\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","image_url":null,"blog_url":"https://htada.hatenadiary.org/","width":"100%","provider_url":"https://hatena.blog","description":"SQLServer\u4f1a\u8b70\u5ba4\u3055\u3093 http://www7.big.or.jp/~pinball/discus/sqls/29827.html \u3092\u53c2\u8003\u306b\uff08\u3068\u3044\u3046\u304b\u3001\u307b\u307c\u305d\u306e\u307e\u307e\uff09\u30fb\u30fb\u30fb\u3002 \u300cexample\u300d\u30c6\u30fc\u30d6\u30eb\u306e\u78ba\u8a8d\u3060\u3063\u305f\u3089\u30fb\u30fb\u30fb if object_id('example') is not null select 'Found !' else select 'Not Found !'\u30c6\u30fc\u30d6\u30eb\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u3001id\u304c\u4f55\u304b\u3057\u3089\u8fd4\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u898b\u3066\u5224\u65ad\u3067\u304d\u308b\uff08null\u3067\u7121\u3051\u308c\u3070\u30c6\u30fc\u30d6\u30eb\u306f\u5b58\u5728\u3059\u308b\uff09\u3002 \u30c6\u30fc\u30d6\u30eb\u540d\u306f\u6587\u5b57\u3067\u6307\u5b9a\u3059\u308b\u3002 DB\u304c\u9055\u3046\u5834\u5408\u3001'DB_NAME.dbo.example'\u3068\u304b\u3063\u3066\u3084\u308c\u3070\u2026"}