{"id":10046,"date":"2024-09-11T20:54:43","date_gmt":"2024-09-11T11:54:43","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=10046"},"modified":"2024-09-10T20:56:37","modified_gmt":"2024-09-10T11:56:37","slug":"post-10046","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2024\/09\/11\/post-10046\/","title":{"rendered":"SQL Server\u306e\u300c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30e1\u30fc\u30eb\u300d\u306e\u78ba\u8a8d\u7528SQL"},"content":{"rendered":"\n<p>SQL Server 2019\u3067\u3001\u300c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 \u30e1\u30fc\u30eb\u300d\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u305f\u306e\u3067\u3001\u305d\u306e\u30e1\u30e2\u3002<\/p>\n\n\n\n<p>\u4e0b\u8a18\u306eSQL\u6587\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u300c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 \u30e1\u30fc\u30eb\u300d\u306b\u8a2d\u5b9a\u3055\u308c\u305fSMTP\u30b5\u30fc\u30d0\u3084\u9001\u4fe1\u5143\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306a\u3069\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002SQL Server 2019\u3068SQL Server 2005\u3067\u78ba\u8a8d\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>select *\nfrom msdb.dbo.sysmail_profile p \njoin msdb.dbo.sysmail_profileaccount pa on p.profile_id = pa.profile_id \njoin msdb.dbo.sysmail_account a on pa.account_id = a.account_id \njoin msdb.dbo.sysmail_server s on a.account_id = s.account_id<\/code><\/pre>\n\n\n\n<p>\u3053\u306eSQL\u6587\u306f\u3001\u3053\u3061\u3089\u306e\u30b5\u30a4\u30c8\u3088\u308a\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/www.web-dev-qa-db-ja.com\/ja\/sql-server\/%E7%8F%BE%E5%9C%A8%E3%81%AE%E3%83%87%E3%83%BC%E3%82%BF%E3%83%99%E3%83%BC%E3%82%B9%E3%83%A1%E3%83%BC%E3%83%AB%E6%A7%8B%E6%88%90%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF%E3%81%A9%E3%81%86%E3%81%99%E3%82%8C%E3%81%B0%E3%82%88%E3%81%84%E3%81%A7%E3%81%99%E3%81%8B%EF%BC%9F\/l956680474\">https:\/\/www.web-dev-qa-db-ja.com\/ja\/sql-server\/%E7%8F%BE%E5%9C%A8%E3%81%AE%E3%83%87%E3%83%BC%E3%82%BF%E3%83%99%E3%83%BC%E3%82%B9%E3%83%A1%E3%83%BC%E3%83%AB%E6%A7%8B%E6%88%90%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF%E3%81%A9%E3%81%86%E3%81%99%E3%82%8C%E3%81%B0%E3%82%88%E3%81%84%E3%81%A7%E3%81%99%E3%81%8B%EF%BC%9F\/l956680474<\/a><\/p>\n\n\n\n<p>SELECT\u306e\u7d50\u679c\u304c\u306a\u3044\u5834\u5408\u306b\u306f\u3001\u300c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 \u30e1\u30fc\u30eb\u300d\u306f\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SQL Server 2019\u3067\u3001\u300c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 \u30e1\u30fc\u30eb\u300d\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u305f\u306e\u3067\u3001\u305d\u306e\u30e1\u30e2\u3002 \u4e0b\u8a18\u306eSQL\u6587\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u300c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 \u30e1\u30fc\u30eb\u300d\u306b\u8a2d\u5b9a\u3055\u308c\u305fSMTP\u30b5\u30fc\u30d0\u3084\u9001\u4fe1\u5143\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306a\u3069\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[69,288,196],"class_list":["post-10046","post","type-post","status-publish","format-standard","hentry","category-windows","tag-sql-server","tag-sql-server-2005","tag-sql-server-2019"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/10046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/comments?post=10046"}],"version-history":[{"count":2,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/10046\/revisions"}],"predecessor-version":[{"id":10072,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/10046\/revisions\/10072"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=10046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=10046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=10046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}