A comprehensive database solution for modern pharmacy management.
This repository provides a robust, normalized relational database designed to handle inventory, prescriptions, and sales transactions.
First, ensure you have the necessary Oracle environment installed:
- Engine: Oracle Database (Free Tier)
- GUI: SQL Developer or DBeaver
Establish a connection as the SYSTEM user with the following parameters:
| Parameter | Value |
|---|---|
| Username | system |
| Password | [Your chosen password] |
| Hostname | localhost |
| Port | 1521 |
| SID / Service | free / FREEPDB1 |
Follow these steps in sequence to ensure data integrity and proper permission mapping.
Execute the Create_User.sql script.
Important
The user must be named C##PHARMACYSYSTEM. Ensure you grant all necessary system permissions (CREATE SESSION, CREATE TABLE, UNLIMITED TABLESPACE) to this user before proceeding.
- Initialize Tables: Run the core PharmacySystem.sql to build the relational structure.
- Initialize Views: Run AllViews.sql to set up the reporting and abstraction layers.
To populate the system for testing or demonstration, run the Generated_Data.sql script.
The system architecture follows a 3rd Normal Form (3NF) structure to ensure data consistency and efficient transaction handling.
Below are snapshots of the front-end implementation connected to this database.
| Registration | User Dashboard | Admin Panel |
|---|---|---|
![]() |
![]() |
![]() |
- Documentation: Data Analysis Deep-Dive
- Presentation: Project Overview Slide Deck
- External Logic: ERD Reference Guide


