STRING | |
Create Random Strings |
dbms_random.string(opt IN CHAR, len IN NUMBER) RETURN VARCHAR2; opt seed values: |
CREATE TABLE random_strings AS SELECT rownum RNUM, dbms_random.string(‘A’, 12) RNDMSTR FROM all_objects WHERE rownum <= 200; col rndmstr format a20 SELECT * FROM random_strings; |
|
— create test data CREATE TABLE test ( col1 VARCHAR2(20), col2 VARCHAR2(20)); DECLARE INSERT INTO test SELECT * FROM test; |
Related Topics
Carlos Pampulim Caldeira
Latest posts by Carlos Pampulim Caldeira (see all)
- Protocolo de Entrega de Trabalhos de IPAI - 21/01/2022
- Design e Tuning - 29/11/2021
- Fase 2 – Dicionário DDL - 25/10/2021