{"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/HTN20190109/","version":"1.0","url":"https://htn20190109.hatenablog.com/entry/2021/05/28/001901","height":"190","type":"rich","width":"100%","published":"2021-05-28 00:19:01","title":"\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306eSQL\u5b9f\u884c\u65b9\u6cd5\u5404\u7a2e","author_name":"HTN20190109","description":"MySQL (8.0.22) echo \"select now();\" > a.sql mysql test < a.sql echo \"select now();\" | mysql test mysql test <<EOFselect now();EOF \u2192\u3044\u305a\u308c\u3082\u5b9f\u884c\u5f8cmysql\u306f\u7d42\u4e86\u3059\u308b Oracle (19c) echo \"select sysdate from dual;\" > a.sql sqlplus test/test@pdb1 @a.sql sqlplus test/test@pdb1 < a.sql echo \"select sysdate from dual;\" | s\u2026","blog_title":"HTN20190109\u306e\u65e5\u8a18","provider_url":"https://hatena.blog","categories":["DB"],"blog_url":"https://htn20190109.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2021%2F05%2F28%2F001901\" title=\"\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306eSQL\u5b9f\u884c\u65b9\u6cd5\u5404\u7a2e - 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>","image_url":null}