Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pawelwiejkut/fill_database

Scripts for generate database and fill content
https://github.com/pawelwiejkut/fill_database

hana oracle-12c oracle-database sap sql

Last synced: about 1 month ago
JSON representation

Scripts for generate database and fill content

Awesome Lists containing this project

README

        

# Fill database with example/random data

This is a simple SQL script which allows you to create sample database and fill it with random data. Scripts are now available for Oracle and Hana database.

If you want to change ammount of data, you should change the value in LOOP:
```
APLHABET = ARRAY('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z');
WHILE CNTR < 500000 DO
INSERT INTO COMPANY SELECT
```

Database schema is shown on image below:
![Image of schema](https://pawelwiejkut.net/pobierz/git_database_schemat.jpg)