{"published":"2025-04-13 15:07:48","width":"100%","author_name":"HTN20190109","title":"\u30b7\u30a7\u30eb\u3067SQL\u5b9f\u884c\u30a8\u30e9\u30fc\u306e\u623b\u308a\u5024","provider_url":"https://hatena.blog","description":"MySQL\u4ee5\u5916\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3082\u623b\u308a\u50240\u3068\u306a\u308b\u5834\u5408\u304c\u3042\u308b MySQL (8.4.0) mysql test <<-'EOF'select count(*) from tab1;EOF echo $? (1) DB\u63a5\u7d9a\u3067\u304d\u306a\u3044\u5834\u5408\u623b\u308a\u50241 (2) \u30c6\u30fc\u30d6\u30eb\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u623b\u308a\u50241 Oracle (19c) sqlplus test/test@pdb11 <<-'EOF'select count(*) from tab1;EOF echo $? (1) DB\u63a5\u7d9a\u3067\u304d\u306a\u3044\u5834\u5408\u623b\u308a\u50240 (2) \u30c6\u30fc\u30d6\u30eb\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u623b\u308a\u50240 sqlplus test/test@pdb11 <<-'E\u2026","image_url":null,"height":"190","blog_url":"https://htn20190109.hatenablog.com/","version":"1.0","author_url":"https://blog.hatena.ne.jp/HTN20190109/","type":"rich","provider_name":"Hatena Blog","url":"https://htn20190109.hatenablog.com/entry/2025/04/13/150748","blog_title":"HTN20190109\u306e\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2025%2F04%2F13%2F150748\" title=\"\u30b7\u30a7\u30eb\u3067SQL\u5b9f\u884c\u30a8\u30e9\u30fc\u306e\u623b\u308a\u5024 - HTN20190109\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["DB"]}