XSD Code to RDBMS Script

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

Copyright 2003, CEC Services, LLC All Rights Reserved 1 XSD Code to RDBMS Script.
Copyright © 2003 Pearson Education, Inc. Slide 8-1 The Web Wizards Guide to PHP by David Lash.
CIT 613: Relational Database Development using SQL Introduction to SQL.
1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 28 Database Systems I The Relational Data Model.
Attribute databases. GIS Definition Diagram Output Query Results.
Introduction To Databases IDIA 618 Fall 2014 Bridget M. Blodgett.
Overview of Mini-Edit and other Tools Access DB Oracle DB You Need to Send Entries From Your Std To the Registry You Need to Get Back Updated Entries From.
Attribute Data in GIS Data in GIS are stored as features AND tabular info Tabular information can be associated with features OR Tabular data may NOT be.
Created by, Author Name, School Name—State FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Chapter 9 Moving to Design
Northern Mockingbird. Copyright © 2002 OSI Software, Inc. All rights reserved. PI OLE DB COM Connector Making Relational Databases Look Like PI Benny.
Chapter 2: SQL – The Basics Objectives: 1.The SQL execution environment 2.SELECT statement 3.SQL Developer & SQL*Plus.
Object Oriented Analysis and Design 1 Chapter 7 Database Design  UML Specification for Data Modeling  The Relational Data Model and Object Model  Persistence.
2005 Epocrates, Inc. All rights reserved. Integrating XML with legacy relational data for publishing on handheld devices David A. Lee Senior member of.
Structured Analysis.
IS 325 Notes for Wednesday August 28, Data is the Core of the Enterprise.
CS499 Project #3 XML mySQL Test Generation Members Erica Wade Kevin Hardison Sameer Patwa Yi Lu.
1 CS 430 Database Theory Winter 2005 Lecture 11: SQL DDL.
Warfighter Support Stewardship Growth & Development Leadership Defense EDI Convention Development System (DECoDe) Briefing for: DLMSO April 29, 2008 Defense.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
 CONACT UC:  Magnific training   
CENG 351 File Structures and Data Management1 Relational Model Chapter 3.
Introduction to Oracle. Before Computerized Database Organization use a set of data files to store each individual data. – The file contains individual.
Dept. of Computer & Information Sciences
ERwin.
Chapter 3 Data Representation
CompSci 280 S Introduction to Software Development
DBM 380 AID Focus Dreams/dbm380aid.com
FHIR and Relational Databases
آشنایی با نرم افزار Microsoft Access
SQL – Python and Databases
DBM 380 aid Perfect Education/dbm380aid.com
CHAPTER 7 DATABASE ACCESS THROUGH WEB
Relational Database Management System
Special Topics in CCIT: Databases
Software Specification Tools
DBM 380 aid Education Begins/dbm380aid.com
Database Systems Unit 16.
Quiz Questions Q.1 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (B) weak entity set. (C) simple.
CS1222 Using Relational Databases and SQL
SQL – Application Persistence Design Patterns
Invitation to Computer Science, Java Version, Third Edition
Translation of ER-diagram into Relational Schema
Tutorial 8 Objectives Continue presenting methods to import data into Access, export data from Access, link applications with data stored in Access, and.
CIS 336 strCompetitive Success/tutorialrank.com
CIS 336 str Education for Service-- tutorialrank.com.
Chapter 9 Designing Databases
DATABASE MANAGEMENT SYSTEM
MANAGING DATA RESOURCES
Chapter 6 System and Application Software
The Relational Model Relational Data Model
Design and Programming
CS1222 Using Relational Databases and SQL
Recitation Outline C++ STL associative containers Examples
Contents Preface I Introduction Lesson Objectives I-2
CS1222 Using Relational Databases and SQL
CS1222 Using Relational Databases and SQL
Chapter 11 Managing Databases with SQL Server 2000
Chapter 6 System and Application Software
Chapter 6 System and Application Software
CS1222 Using Relational Databases and SQL
CMSC-461 Database Management Systems
Oracle SQL Developer Data Modeler
SQL – Application Persistence Design Patterns
Chapter 6 System and Application Software
CS4540 Special Topics in Web Development SQL and MS SQL
CS1222 Using Relational Databases and SQL
Presentation transcript:

XSD Code to RDBMS Script Copyright 2003, CEC Services, LLC All Rights Reserved

Copyright 2003, CEC Services, LLC All Rights Reserved XSD-RDBMS Promotes interoperability of standards Implements Draft EIA836 in RDBMS Performs in real-time with LTT Converts XML to DTD to XSD Auto-translates XSD to RDBMS scripts Runs industrial grade software factory Copyright 2003, CEC Services, LLC All Rights Reserved

Copyright 2003, CEC Services, LLC All Rights Reserved Tool Set History Many move XML to DTD Some move DTD to XSD Few move XSD to graphical diagrams Fewer move RDBMS into XSD Only one moves XSD to RDBMS FOR MORE INFO... See the demo CD available by request from cec-services.com. Copyright 2003, CEC Services, LLC All Rights Reserved

Copyright 2003, CEC Services, LLC All Rights Reserved How It Works Input XSD code (from any source) Element names, references, data types, attributes, enumerated values Output RDBMS scripts (XSD-RDBMS) Tables, columns, data types, indexes, views, insertion of enumerated values Real-time database use (LTT) Software factory with zero defect code Copyright 2003, CEC Services, LLC All Rights Reserved

Complex Input to Simple Output Input nearly unreadable by humans: <xsd:element ref=“Z” minOccurs=“1” maxOccurs =“unbounded”/> Output in very clear ANSI SQL: create table T ( Z char( 1) not null) ; FOR MORE INFO... See the technical paper on the CD from cec-services.com. Copyright 2003, CEC Services, LLC All Rights Reserved

Copyright 2003, CEC Services, LLC All Rights Reserved Assumptions XSD is logically correct Some XSD is legal but overly complex Element names map to table names Element refs map to column names Attributes map to column data types Simple sub-types map to column enumerations Copyright 2003, CEC Services, LLC All Rights Reserved

Copyright 2003, CEC Services, LLC All Rights Reserved XSD Code Quirks XSD type levels may become convoluted <xsd:attribute name=“TMC” type=“DTTMC”/> </xsd:simpleType name=“DTTMC” ..“:string”> <xsd:attribute name=“DTTMC” type=“string”/> Hungarian Notation is uNrEaDaBle DocTransfer-TransferMethod-Codetype doc_transfer_transfer_method_code_type Punctuation characters allowed in names XSD names often exceed 30 characters Copyright 2003, CEC Services, LLC All Rights Reserved

Copyright 2003, CEC Services, LLC All Rights Reserved RDBMS Script Quirks Column names up to 30 characters Required by IBM DB2 and ORACLE Table names up to 30 characters Required by ORACLE only Some characters illegal in names - dash, . period, : colon FOR MORE INFO... See the demo CD available by request from cec-services.com. Copyright 2003, CEC Services, LLC All Rights Reserved

Copyright 2003, CEC Services, LLC All Rights Reserved XSD Logic Quirks: Many Sub-types may refer to element names, reference names, data types, and enums Enums allowed for refs tied to sibling refs with minOccurs=1, ie insert without key Multiple, conflicting redefinitions of the same element coexist in the same system Infinite level of indirection is encouraged The only thing to come out of computer science in the last three years Copyright 2003, CEC Services, LLC All Rights Reserved

RDBMS Logic Quirks: None XSD sub-type to an element name is a column name referring to a table name RDBMS makes that script as a VIEW of the table named by the column and the table containing the named column Columns with no parent tables map to a table named Orphan__[xsd_infile_name] Orphan refs to the same unnamed table promote to a new table name and column Copyright 2003, CEC Services, LLC All Rights Reserved

XSD-RDBMS: Script Output 1. “CREATE TABLE” scripts The shorter of a duplicate script is ignored 2. “ALTER TABLE” index scripts 3. “CREATE VIEW” scripts 4. “INSERT INTO” enum scripts An insert into an indexed table on any column other than the key is ignored Copyright 2003, CEC Services, LLC All Rights Reserved

Script Output for Draft EIA-836 1. “CREATE TABLE” scripts used: 604 One duplicate ignored as nearly identical 2. “ALTER TABLE” index scripts used: 53 3. “CREATE VIEW” scripts used: 216 4. “INSERT INTO” scripts used: 267 20 ignored for no respective primary key insert Uml file, with input and output size of 0.6 MB and 0.8 MB, was ignored because so many label names truncated to the same Copyright 2003, CEC Services, LLC All Rights Reserved

Applying LTT to Draft EIA-836 LTT (Logic Table Technology) stores logic flow in switches LTT allows RDBMS to perform in real-time Draft EIA-836 logic is not perfected due in part to XSD as a limited medium Finalized EIA-836 is a candidate for mapping processes into LTT The database core is available; everyone is waiting for the final processing logic Copyright 2003, CEC Services, LLC All Rights Reserved

Copyright 2003, CEC Services, LLC All Rights Reserved Recent Advances Text manipulation of XSD-RDBMS quickly implemented in ANSI True BASIC® XSD to RDBMS mapping is now automated with high reliability XSD exposed as a fad medium with limited tool capability Copyright 2003, CEC Services, LLC All Rights Reserved