https://github.com/l1ve709/sql-dynamic-pivot-reporting-project
https://github.com/l1ve709/sql-dynamic-pivot-reporting-project
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/l1ve709/sql-dynamic-pivot-reporting-project
- Owner: l1ve709
- License: mit
- Created: 2024-09-13T19:12:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-13T19:51:04.000Z (over 1 year ago)
- Last Synced: 2025-01-21T12:26:32.197Z (11 months ago)
- Language: TSQL
- Size: 11.7 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
||---------------------------||
|| # English Language ||
||---------------------------||
# SQL Dynamic Pivot Reporting Project
## Overview
This project provides a comprehensive dynamic pivot report generation system using SQL. It allows you to summarize sales data dynamically based on available years. All rights belong me info@l1ve709.com / githubsupport@l1ve709.com
## Project Structure
- **dbsetup.sql**: Sets up the database and tables with initial data.
- **dynamicpivot.sql**: Contains the main logic for creating dynamic pivot reports.
- **storedprocedures.sql**: Reusable stored procedures for generating dynamic columns and executing the pivot.
- **config.sql**: Configuration settings for the project.
- **README.md**: Documentation for setup and usage.
## Setup Instructions
1. Run `dbetup.sql` to create the tables and insert sample data.
2. Use `storedprocedures.sql` to set up the procedures.
3. Run `dynamicpivot.sql` or execute the `ExecuteDynamicPivot` procedure to generate reports.
## Usage
- Modify `config.sql` to adjust default settings as needed.
- Use stored procedures to generate reports based on your specific needs.
## Notes
- Ensure SQL Server compatibility for pivot functions.
- Modify the `dbsetup.sql` file to include your specific data.
-- --
||---------------------------||
|| # Turkish Language ||
||---------------------------||
-- --
|-- SQL Dinamik Pivot Raporlama Projesi --|
## Genel
Bu proje mevcut yıllara göre satış verilerini dinamik olarak özetlemenizi sağlayan kapsamlı bir dinamik pivot raporu oluşturma sistemi sunmakta. Tüm hakları üzerimedir, info@l1ve709.com / githubsupport@l1ve709.com
## Proje Yapısı
- **dbsetup.sql**: Veritabanını ve tabloları başlatır ve ilk verileri ekler.
- **dynamicpivot.sql**: Dinamik pivot raporları oluşturmak için ana mantığı içerir.
- **storedprocedures.sql**: Dinamik sütunlar oluşturmak ve pivot işlemini yürütmek için yeniden kullanılabilir saklı yordamlar içerir.
- **config.sql**: Yapılandırma ayarları.
- **README.md**: Kullanım kulavuzu.
## Kurulum Talimatları
1. Tabloları oluşturmak ve örnek verileri eklemek için `dbsetup.sql` dosyasını çalıştır
2. Saklı yordamları kurmak için `storedprocedures.sql` dosyasını çalıştır
3. Raporları oluşturmak için `dynamicpivot.sql` dosyasını çalıştır veya `ExecuteDynamicPivot` yordamını yürüt
## Kullanım
- Gerekirse varsayılan ayarları düzenlemek için `config.sql` dosyasını değiştir
- Kendi özel ihtiyaçlarınıza göre raporlar oluşturmak için saklı yordamları kullan
## Notlar
- Pivot fonksiyonları için SQL Server uyumluluğundan emin ol.
- Kendi verilerinizi eklemek için `dbsetup.sql` dosyasını düzenle
discord: www.l1ve709.com
instagram: l1ve709
website: l1ve709.com
contact mail: githubsupport@l1ve709.com