Giter Site home page Giter Site logo

hta-db-schema's Introduction

hta-db-schema

Document DB Schema for Oracle/MySQL (using hta script)

This is a simple hta script to show/document oracle tables/views.

  • For Oracle, it use OLEDB (driver=MSDAORA)
  • For MySQL, it use ODBC for MySQL

no more dependance.

Features

  1. single hta scripting file
  2. no dependance without any css/js lib
  3. document oracle/mysql using built-in "comments" feature.
  4. classify tables/views into "folder"
  5. show/edit/print table summary (for classified table/view only)
  6. show/edit/print table definition

Usage Guide

just download file db-schema-oracle.hta or db-schema-mysql.hta to local, and click to run.

  1. input the oracle database connection parametes, and click "connect" button
  2. by default, tables/views will show in folder of "TABLE/VIEW" in grey color
  3. click on folder to toggle table list
  4. click on table to show table definition
  5. DoubleClick on table description to edit (and setup folder)
  6. DoubleClick on column description to edit (ps: for oracle only!)
  7. Click "print" button to print table definition
  8. input keyword and press enter (or click on "search" button) to search name+comments

You may edit below script (bottom of file, line 262) to setup the default DB connection.

  //===== initial db connection parameters =====
  app('dbtitle').value = 'Database Schema of Oracle DB'
  app('dbserver').value = '192.168.0.211'
  app('dbname').value = 'XE'
  app('dbuser').value = 'hr'
  app('dbpass').value = 'password'
  //app.connectdb()
  //===== end of db parameters ====================

For MySQL,

  //===== initial db connection parameters =====
  app('dbtitle').value = 'Database Schema of MySQL'
  app('dbodbc').value = 'MySqlDsn'
  //app.connectdb()
  //===== end of db parameters ====================

Modification Log

  • 2022/07/06, v0.70, initial version, for Oracle DB
  • 2022/07/11, v0.80, add MySql version

hta-db-schema's People

Contributors

casualwriter avatar

Watchers

 avatar

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.