랜덤한 데이터를 생성하는 SQL
SELECT LEVEL v
, CEIL(LEVEL / 10) v
, MOD(LEVEL, 10) v
, CHR(64 + LEVEL) v
, CHR(96 + LEVEL) v
, dbms_random.random v
, dbms_random.normal v
, dbms_random.value v
, ROUND(dbms_random.value(0, 1000000)) v
, dbms_random.string('u', 6) v
, dbms_random.string('l', 6) v
, dbms_random.string('a', 6) v
, dbms_random.string('x', 6) v
, dbms_random.string('p', 6) v
FROM dual
CONNECT BY LEVEL <= 30
댓글 없음:
댓글 쓰기