PL/SQL script to fill table based on its column's data type
Currently this PL/SQL script can only generate random value for column with data type of
VARCHAR2
: random upper case alphanumeric will be generated with length of column's data lengthNUMBER
: random number will be generated with precision of column's data precision and scale of column's data scaleDATE
: will be set to current timestampTIMESTAMP
: will be set to current timestamp
These inputs are required to run the PL/SQL script
totalData
: number of generated data with type ofNUMBER(38)
tableOwner
: the owner of the table, be aware that it's case-sensitive with type ofVARCHAR2
tableName
: the name of the table with type ofVARCHAR2
Feel free to share with me if you have better implementation 😄