GithubHelp home page GithubHelp logo

victor-wiki / databasemanager Goto Github PK

View Code? Open in Web Editor NEW
117.0 10.0 47.0 6.1 MB

A simple tool for databases : SqlServer, MySql, Oracle, Postgres and SQLite

C# 99.72% HTML 0.21% CSS 0.05% JavaScript 0.01%
database convert migrate table sqlserver mysql copy sql compare translate

databasemanager's Introduction

A simple tool for databases : SqlServer, MySql, Oracle, Postgres and SQLite.

Features

Convert Database

Convert database schemas and migrate data.

Compare Database

Compare database objects, generate scripts of differences.

Generate Scripts

Generate scripts of database objects, including schema and data.

View Data

It supports pagination, sort and filter for single table or view.

Table Copy

Clone table schema and copy data to another database.

Clear Data

Delete data of all tables.

Diagnose Database

  • Diagnose invalid records of table that values are empty but columns definded as not null, and that referenced values are as same as themselves.
  • Diagnose referenced name not match as they are defined in routine scripts.

Empty Database

Delete all objects of a database.

Translate Script

The translate form can translate script to one database kind to another without database connection.
(Note: Most function and procedure of Postgres currently can't be translated to others.)

UI - Convert Database

Convert Database

UI - Compare Database

Compare Database

UI - Table Designer

Table Designer

UI - Translate Script

Translate Script

Executable Files

Windows Binaries | Windows Installer
(Note: .NET Desktop Runtime is required.)

databasemanager's People

Contributors

dependabot[bot] avatar victor-wiki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

databasemanager's Issues

Sqlite option

how do you open sqlite database and also compare using the app?

Null object reference.

https://github.com/victor-wiki/DatabaseManager/blob/cd61d4cfd9294a1e1618d2982b9403aeadc7b5e5/DatabaseConverter/SqlAnalyser.Core/RuleAnalyser/TSqlRuleAnalyser.cs#L725C46-L725C46

tsij object

if (!asWhole && (tsij.table_source_item_joined() != null || tsij.table_source_item()?.derived_table() != null))
{
    asWhole = true;
}

if (!asWhole && (tsij?.table_source_item_joined() != null || tsij?.table_source_item()?.derived_table() != null))
{
    asWhole = true;
}

T-SQL

SELECT DOCUMENTID,
E_edem_DataSourceProviderV2_Form1.DateTimePicker1,
E_edem_DataSourceProviderV2_Form1.CheckBox1,
E_edem_DataSourceProviderV2_Form1.NumberBox1,
COALESCE(NULLIF(E_edem_DataSourceProviderV2_Form1ML_SystemCulture.TextBox1, ''), NULLIF(E_edem_DataSourceProviderV2_Form1ML_UserCulture.TextBox1, ''), NULLIF(E_edem_DataSourceProviderV2_Form1ML_defaultCulture.TextBox1, '')),
E_edem_DataSourceProviderV2_Form1SL.ComboBox1,
E_edem_DataSourceProviderV2_Form1.TimePicker1,
E_edem_DataSourceProviderV2_Form1.Switch1
 FROM E_edem_DataSourceProviderV2_Form1

            OUTER APPLY (SELECT TextBox1 FROM E_edem_DataSourceProviderV2_Form1ML WHERE E_edem_DataSourceProviderV2_Form1.ID = E_edem_DataSourceProviderV2_Form1ML.PARENTID AND E_edem_DataSourceProviderV2_Form1ML.CULTURE = 'system') E_edem_DataSourceProviderV2_Form1ML_SystemCulture 

Null Object Reference PLSqlRuleAnalyser

Hi, I encountered a problem on the PLSQL side, thank you in advance.

PLSQL Query

WITH
   sum_sales AS
      ( select
      sum(qty) all_sales from sales ),
   number_stores AS
      ( select
      count(*) nbr_stores from stores ),
   sales_by_store AS
      ( select
      stor_name, sum(qty) store_sales from
      stores natural join sales
      group by stor_name)
SELECT
   stores.stor_name
FROM
   stores,
   sum_sales,
   number_stores,
   sales_by_store
where
   store_sales > (all_sales / nbr_stores);

Test Code:

 PlSqlAnalyser plSqlAnalyser = new PlSqlAnalyser(query);       
var result = plSqlAnalyser.AnalyseCommon();

https://github.com/victor-wiki/DatabaseManager/blob/92ed82e633f0ed05753239a86558146328b56548/DatabaseConverter/SqlAnalyser.Core/RuleAnalyser/PlSqlRuleAnalyser.cs#L1342C28-L1342C28

image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.