Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pawelwiejkut/fill_database
- Owner: pawelwiejkut
- Created: 2017-03-11T16:22:05.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-04T19:42:02.000Z (over 6 years ago)
- Last Synced: 2024-11-02T09:04:37.596Z (3 months ago)
- Topics: hana, oracle-12c, oracle-database, sap, sql
- Language: PLSQL
- Size: 39.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)