{"url":"https://yohei-a.hatenablog.jp/entry/20180326/1522024547","description":"Oracle Database \u306e\u4ee5\u4e0b\u306e PL/SQL \u30b3\u30fc\u30c9\u3092 standard_price := DBMS_RANDOM.VALUE(30,50); MySQL \u3067\u306f\u3053\u3046\u66f8\u304d\u63db\u3048\u308b\u3068\u540c\u3058\u3053\u3068\u304c\u3067\u304d\u308b\u3002 select round( rand() * 20 + 30 ) into var_standard_price; \u5b9f\u969b\u306b\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3092\u4f5c\u6210\u3057\u3066\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3002 5.6.10-log awsuser: [mydb] 09:32> delimiter // 5.6.10-log awsuser: [mydb] 09:32> create procedure rand_test() -\u2026","width":"100%","title":"Oracle Database \u306e DBMS_RANDOM.VALUE \u3092 MySQL \u5411\u3051\u306b\u66f8\u304d\u63db\u3048\u308b","type":"rich","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/yohei-a/","height":"190","categories":["Oracle","MySQL"],"provider_name":"Hatena Blog","author_name":"yohei-a","version":"1.0","blog_url":"https://yohei-a.hatenablog.jp/","published":"2018-03-26 09:35:47","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20180326%2F1522024547\" title=\"Oracle Database \u306e DBMS_RANDOM.VALUE \u3092 MySQL \u5411\u3051\u306b\u66f8\u304d\u63db\u3048\u308b - ablog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"ablog"}