Session Overview. Session Overview. ProDataSet Definition. Climb Aboard the ProDataSet Train. Paul Guggenheim. Paul Guggenheim & Associates.

Size: px
Start display at page:

Download "Session Overview. Session Overview. ProDataSet Definition. Climb Aboard the ProDataSet Train. Paul Guggenheim. Paul Guggenheim & Associates."

Transcription

1 Climb Aboard the ProDataSets Train Paul Guggenheim About PGA Working in Progress since 1984 and training Progress programmers since 1986 Designed seven comprehensive Progress courses covering all levels of expertise including - The Keys to OpenEdge Author of the Sharp Menu System, a database driven, GUI pull-down menu system. White Star Software Strategic Partner TailorPro Consultant and Reseller Tools4Progress Partner Major consulting clients in manufacturing, distribution, gaming, financial services, government and non-profit industries Head of the Chicago Area Progress Users Group Session Overview ProDataSets Overview Definition Uses Features ProDataSet Programming Define DataSet Statement DataSet Components Temp-Tables Data-Relations Data-Sources Eight Programming Steps Examples Session Overview Single Table Populate Dataset Single Table Fill Button Load Additional Data Multiple Tables Data Relations Multiple Tables XML Schema Write Multiple Tables XML Schema Read Multiple Tables Callback Procedures Calculated Fields Multiple Tables Reject Changes BEFORE-TABLE Multiple Tables Accept Changes SAVE-ROW-CHANGES ProDataSet Definition ProDataSet Definition What is a ProDataSet? A ProDataSetis collection of one or more temptables that optionally contain a collection of data relations among the member temp-tables. Each member temp-table can attach to a Data- Source object in order to receive data from the database or write data to the database. The term for a ProDataSetreceiving data from the database is called filling.

2 ProDataSet Definition In addition, ABL procedures may be assigned to the many ProDataSetnamed events in order to customize the behavior, perform validation, and execute different kinds of business logic. ProDataSets Uses Isolating business logic into one object. Minimizing network traffic in distributed applications. Easily read and write data to and from an XML file. Use the ABL to develop applications using the.net user interface. Provide a convenient, powerful and consistent way to separate application data access from how the underlying data is stored in the database. ProDataSet Features Define complex business logic between many levels of related data. Define a data mapping between the ProDataSet and the database. Records changes to ProDataSettemp-table records for updating the database. ProDataSet Features Associate hooks to custom event procedures. Can pass the DataSetas a single parameter with a single handle from one procedure to another, within a single Progress session or between sessions. Can be either a static or dynamic object, consistent with other objects such as temp-tables. Provides automatic rollback features for temptables independent of transactions. Simplifies populating data in related temp-tables. ProDataSet Programming DEFINE DATASET Statement: DEFINE [ NEW [ SHARED ] ] [ PRIVATE PROTECTED ] DATASET dataset-name FOR buffer-name [, buffer-name ]... [ DATA-RELATION [ data-rel-name ] data-rel-spec ]... ProDataSet Components Temp-Tables: Temp-tables must be defined before ProDataSetis defined. The ProDataSetreferences the temp-table in the ProDataSetdefinition by referring to a buffer name of the temp-table. By default, the buffer name is the temp-table name.

3 ProDataSet Components Data Relations: Data-Relations are optional, dependent components defined in the ProDataSet. Typically, Data-Relations are commonly used to define how a parent and child buffer are linked together in a ProDataSet. If only one buffer is defined for a ProDataSet, then a Data-Relation doesn t need to be defined. ProDataSet Components Data Sources: A Data-Source is an independent object that is used to transfer data between the database and a ProDataSet. Typically, there is one Data-Source defined for each defined temp-table buffer in a ProDataSet. However, the Data-Source may represent more than one database buffer (table) if there are fields in the temp-table buffer that come from different database tables. ProDataSet Components Data Sources: The Data-Source definition identifies the unique key in the database table for the Data-Source. How it maps to the temptable buffer of the ProDataSet is defined in the attach-datasource method. The Data-Source definition may specify either a query phrase or a source-buffer phrase or both. Typically, a query is defined for the top-level ProDataSet buffer. The purpose is to only read a subset of the parent records when the ProDataSet is filled. Typically, a source-buffer phrase is used for a child ProDataSetbuffer. This populates the child buffer with related records from the parent ProDataSets Eight Steps 1. Define the temp-table(s) used in the ProDataSet. 2. Define the ProDataSet. 3. Define a Database Query used in the top-level Data-Source. 4. Define the Data-Source referencing the Database Query in the top-level Data-Source. 5. Execute the QUERY-PREPAREmethod on the query associated with the top-level data source. 6. Execute the ATTACH-DATA-SOURCE method for the Data- Sources. 7. Execute the FILL method on the ProDataSet 8. Execute the DETACH-DATA-SOURCE method for the Data- Source. ProDataSets Single Table ProDataSets Single Table Here are the 8 steps for the Single Table example: Define the temp-tables used: define temp-table tstudent no-undo like student. Define the ProDataSet: define dataset dsstudent for tstudent. Define a Database Query used in the top-level Data-Source: define query qstudent for student.

4 ProDataSets Single Table Define the Data-Source referencing the Database Query in the top-level Data-Source. define data-source srcstudent for query qstudent student keys (studentid). Execute the QUERY-PREPARE method on the query associated with the top-level data source. query qstudent:query-prepare("for each student NO-LOCK where stcode = 'IL' and syear = 2007"). ProDataSets Single Table Execute the ATTACH-DATA-SOURCE method for the Data-Source. buffer tstudent:attach-data-source(datasource srcstudent:handle). Execute the FILL method on the ProDataSet dataset dsstudent:fill(). Execute the DETACH-DATA-SOURCE method for the Data-Source. buffer tstudent:detach-data-source(). Load Additional Data Load Additional Data The FILL method is executed as many times as the user desires to populate the DataSetwith a particular group of records. When the FILL method executes, Progress checks the FILL-MODE attribute for each buffer and acts according to the FILL-MODE specified. The four fill-modes are: Empty No-Fill Append Merge Load Additional Data The user may press the Fill button and select query conditions stcode(state) and syear(graduation year) for the FILL method. In addition, the user may select either EMPTY or MERGE for the FILLMODE. If EMPTY is selected, the current data in the tstudent temp-table is removed and replaced with the new records based upon the current query conditions. If MERGE mode is selected, new records are added to the existing set of records.

5 Three temp-tables are used to represent three database tables: tstudent for student tstuchrg for stuchrg(student charge) tcharge for charge(charge type) One studentrecord may have many stuchrg records, with the studentidfield being the foreign key in the stuchrg table. One charge type record may have many sturchrg records, with the chargecodefield being the foreign key in the stuchrg table. The tstudent temp-table is the top-level temptable in the dsstuchrg prodataset. Inside the dataset definition, the first data relation is for tstudentand tstuchrgand the relation fields for both records is studentid. The second data relation is for tstuchrgand tchargeand the relation fields for both records is chargecode. Specifying a data-relation name is optional. By default, Progress names these relation1and relation2. Before the DataSetcan be filled all defined Data- Sources for the ProDataSetmust be attached; otherwise a run-time error occurs. By default, the FILL method on the ProDataSet retrieves records from all Data-Sources into all temp-tables. The FILL method starts by reading the first record in the top-level query, then proceeds down through the Data-Relation relationships recursively. In this example, the tchargetemp-table will only contain charge types that occur with the tstuchrg temp-table during the FILL method. To have all tchargerecords to be included in the DataSet, yet still be directly related to the tstuchrg temp-table, then the REPOSITION keyword should be added to the charge Data-Relation. Multiple Tables XML Schema Write After filling the prodatasetin the previous example to populate the tstudent, tstuchrg and tcharge temp-tables, the WRITE-XML and WRITE-XML- SCHEMAmethods are used to dump the records and the definitions to xml files in example dsstuchrgwritexml.p. Multiple Tables XML Schema Read dataset dsstuchrg:write-xml ("file","dsstuchrg.xml",true /* formatted */). dataset dsstuchrg:write-xmlschema ("file","dsstuchrgschema.xml",true /* formatted */).

6 Multiple Tables XML Schema Read In dsstuchrgxmlread.p, a dynamic prodatasetis created and the xml-schema definitions and xml data are loaded into it. dshand:read-xml("file","dsstuchrg.xml","merge","dsstuchrgschema.xml",false). Next, each of the temp-table buffers are created by getting the buffer handle for each of the defined buffers of the ProDataSet. The data for each temp-table buffer is displayed using dynamic data methods. Multiple Tables Callback Procedures The SET-CALLBACK-PROCEDURE method associates a named event with an internal procedure to run when the event occurs, and the persistent procedure handle indicating where to run the internal procedure. Callback-name is the event for which the internal procedure executes Internal-procedure is the name of the internal procedure Procedure-context is the persistent procedure handle where the internal procedure will be executed Multiple Tables Callback Procedures The following are the Progress supplied DataSet events: BEFORE-FILL AFTER-FILL BEFORE-ROW-FILL AFTER-ROW-FILL The top two of these events may be used on both the DataSetand the DataSettemp-table buffer handle. The latter two may only be used for the DataSet temp-table buffer handle. Multiple Tables Callback Procedures Notice that total charges is now calculated. Multiple Tables Callback Procedures The following callback procedure was set: buffer tstuchrg:set-callback-procedure ("after-fill", "poststuchrgfill", THIS-PROCEDURE). PostStuchrgFill internal procedure is below: procedure poststuchrgfill: define input parameter dataset for dsstuchrg. for each tstuchrg of tstudent: accumulate chargeamt (total). end. assign chargetot = accum total chargeamt. Maintaining ProDataSet Changes Progress provides many tools that make it easy to undo individual temp-table records or the entire dataset. The following attributes and methods are used to undo changes to temptable records: Name TRACKING-CHANGES ROW-STATE BEFORE-ROWID AFTER-ROWID BEFORE-TABLE AFTER-TABLE REJECT-CHANGES Type Method End. REJECT-ROW-CHANGES Method

7 Maintaining ProDataSet Changes The before-table phrase is required for each temptable in a ProDataSetfor changes to be tracked. define temp-table tstuchrg no-undo like stuchrg before-table tstuchrgb4. The BEFORE-TABLE phrase allows the developer access to the original values in the table before the records were changed, and before the new values are accepted. The name of the after-image table is simply the name defined for the temp-table. Maintaining ProDataSet Changes Both the before-image table and the after-image table contain a field called the ROW-STATE. The ROW-STATE values are as follows: 0 ROW-UNMODIFIED 1 ROW-DELETED 2 ROW-MODIFIED 3 ROW-CREATED The above four keywords are actually functions that return the corresponding integers. Maintaining ProDataSet Changes The tracking-changes attribute for a particular temp-table must be set to yes in order for changes made to that temp-table to be tracked by Progress. Reject Changes This attribute must be set after the fill method is executed, otherwise a run-time error will occur. The user may select either the student or the student charge data to reject or both. Reject Changes In order to reject a single row of changes or all the changes for a particular temp-table, the before image table buffer must be used. find tstudentb4 where rowid(tstudentb4) = buffer tstudent:before-rowid no-error. Once the before image table buffer is acquired, the reject-changes or reject-row-changes method may be executed. buffer tstudentb4:reject-row-changes() no-error. Reject Changes To reject all changes for both temp-tables, the REJECT-CHANGESmethod may be executed on the dataset handle. The before-image table values are put back into the after-image table records. All before-image table records are cleared from each before-image table in this case. The ROW-STATE attributes in each after-image table are zeroed out and the BEFORE-ROWID attribute has be reset to?.

8 Accept and Save Changes When one of the save buttons are selected, changes are committed to the ProDataSetwith the ACCEPT-CHANGESor ACCEPT-ROW-CHANGES method. Accept and Save Changes To update changes to the database, the SAVE-ROW- CHANGESmethod must be executed. Here are the steps required: 1. Find the associated before-image table buffer to the temp-table buffer. 2. If the before-image table buffer is available, then attach the Data-Source from the temp-table to the database table. 3. Execute the SAVE-ROW-CHANGES method on the before-image table buffer. 4. Assuming no errors, execute the ACCEPT-ROW- CHANGES method on the before-image table buffer. 5. Detach the Data-Source from the temp-table to the database table. Accept and Save Changes The SAVE-ROW-CHANGESmethod has many options, giving the developer the ability to: Specify the buffer in the data-source to be updated. Specify a list of fields that should not be updated in the table if a new record is created. Specify the no-lobs keyword to ignore BLOBsand CLOBs in the save operation. Please note that there is no SAVE-CHANGES method for the entire temp-table or DataSet. Each individual record must use the SAVE-ROW- CHANGES method. The SAVE-ROW-CHANGESmethod goes through the following steps for a modified row: 1. Finds the corresponding database record exclusivelock based on its key. If the record is not available, the method retries every two seconds up to ten times, and then returns an error if the record is still not available. 2. Compares the before-image table buffer to the database buffer to see whether data has changed since it has been read. The SAVE-ROW-CHANGESmethod goes through the following steps for a modified row: 3. Buffer-copies changed fields in the corresponding after-image table buffer to the corresponding database buffer fields. This uses the same field mapping used to fill the table (as defined in the ATTACH-DATA-SOURCE method). 4. Validates the updated record to force any WRITE or ASSIGN triggers to fire. 5. Sets the ERROR logical attribute in the after-image table row as well as in its temp-table and in the DataSetif any errors resulted from the attempted update, such as duplicate unique keys. The SAVE-ROW-CHANGESmethod goes through the following steps for a modified row: 6. Repopulates the after-image table record from the database record, to catch any changes made by either event procedure code or trigger procedure code. 7. Releases the after-image table and database table records.

9 For a newly created row, SAVE-ROW-CHANGES creates the record in the database and buffer-copies all data table buffer fields except any skip-fields specified in the SAVE-ROW-CHANGES method. It then executes steps 4-7. For a delete row, SAVE-ROW-CHANGES deletes the corresponding row from the Data-Source, based on the record s keys. Even though the SAVE-ROW-CHANGES method updates the database, it does not count as a reference for automatically making a block a transaction block. Try to think of the SAVE-ROW-CHANGES method as a self-contained procedure block, where the transaction is committed at the end of the SAVE- ROW-CHANGES method statement. This means that the developer must specify the TRANSACTION keywordon the block that is desired for the transaction. Summary ProDataSetscan be used effectively to represent data in a business application. Questions ProDataSets communicate easily with XML files. ProDataSetsrepresent data in a logical way for the end-user, without the end-user having to know how the data is stored in the database. ProDataSetsgive the developer many tools that make it easy to perform transactions and to selectively undo, desired temptable records. This presentation was meant to cover only some of the ProDataSet sfeatures and characteristics. Additional information can be learned from PGA s Keys to OpenEdge Course.

Session Overview. Stand Tall with the. Paul Guggenheim. Paul Guggenheim & Associates. UltraWinTree Overview Uses Features

Session Overview. Stand Tall with the. Paul Guggenheim. Paul Guggenheim & Associates. UltraWinTree Overview Uses Features Stand Tall with the UltraWinTree Paul Guggenheim About PGA Working in Progress since 1984 and training Progress programmers since 1986 Designed seven comprehensive Progress courses covering all levels

More information

About PGA. Overview. Belly up to the UltraToolBar. Paul Guggenheim. Paul Guggenheim & Associates

About PGA. Overview. Belly up to the UltraToolBar. Paul Guggenheim. Paul Guggenheim & Associates Belly up to the UltraToolBar and Paul Guggenheim About PGA Working in Progress since 1984 and training Progress programmers since 1986 Designed seven comprehensive Progress courses covering all levels

More information

ARCH-11: Designing a 3-tier framework based on the ProDataSet. Gunnar Schug proalpha Software

ARCH-11: Designing a 3-tier framework based on the ProDataSet. Gunnar Schug proalpha Software ARCH-11: Designing a 3-tier framework based on the ProDataSet Gunnar Schug proalpha Software 1 Content proalpha - Company and Product OpenEdge Reference Architecture Basics An OpenEdge RA compliant framework

More information

New Progress Data Types Paul Guggenheim

New Progress Data Types Paul Guggenheim Datetimes, Blobs and Clobs, Inc. 1 About A Progress Evangelist since 1984, and enlightening Progress programmers since 1986 Designed several comprehensive Progress courses covering all levels of expertise

More information

UPDATING DATA WITH.NET CONTROLS AND A PROBINDINGSOURCE

UPDATING DATA WITH.NET CONTROLS AND A PROBINDINGSOURCE UPDATING DATA WITH.NET CONTROLS AND A PROBINDINGSOURCE Fellow and OpenEdge Evangelist Document Version 1.0 March 2010 April, 2010 Page 1 of 17 DISCLAIMER Certain portions of this document contain information

More information

Essential SQLite3. Section Title Page

Essential SQLite3. Section Title Page One Introduction to SQL 2 Definition of SQL 3 Definition of a Database 4 Two Database Tables 5 Three The SQLite Interface 10 Introduction 11 Running SQLite 12 DOS commands 14 Copying and Pasting 17 Exiting

More information

Table Partitioning Application and Design

Table Partitioning Application and Design Table Partitioning Application and Design EMEA PUG Challenge Richard Banville OpenEdge Development Progress Software Agenda Table Partitioning in OpenEdge Partition design considerations Partition definition

More information

Querying Microsoft SQL Server (461)

Querying Microsoft SQL Server (461) Querying Microsoft SQL Server 2012-2014 (461) Create database objects Create and alter tables using T-SQL syntax (simple statements) Create tables without using the built in tools; ALTER; DROP; ALTER COLUMN;

More information

Overview. Data Integrity. Three basic types of data integrity. Integrity implementation and enforcement. Database constraints Transaction Trigger

Overview. Data Integrity. Three basic types of data integrity. Integrity implementation and enforcement. Database constraints Transaction Trigger Data Integrity IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview Three basic types of data integrity Integrity implementation and enforcement Database constraints Transaction Trigger 2 1 Data Integrity

More information

Managing Data in an Object World. Mike Fechner, Director, Consultingwerk Ltd.

Managing Data in an Object World. Mike Fechner, Director, Consultingwerk Ltd. Managing Data in an Object World Mike Fechner, Director, Consultingwerk Ltd. mike.fechner@consultingwerk.de Consultingwerk Ltd. Independent IT consulting organization Focusing on OpenEdge and.net Located

More information

Accurate study guides, High passing rate! Testhorse provides update free of charge in one year!

Accurate study guides, High passing rate! Testhorse provides update free of charge in one year! Accurate study guides, High passing rate! Testhorse provides update free of charge in one year! http://www.testhorse.com Exam : 70-467 Title : Designing Business Intelligence Solutions with Microsoft SQL

More information

MultiTenancy - An Overview For Techies

MultiTenancy - An Overview For Techies MultiTenancy - An Overview For Techies Timothy D. Kuehn Senior OpenEdge Consultant timk@tdkcs.ca tim.kuehn@gmail.com Ph 519-576-8100 Cell: 519-781-0081 MultiTenancy for Developers PUG Challenge 2013 -

More information

Spatial Data Standards for Facilities, Infrastructure, and Environment (SDSFIE)

Spatial Data Standards for Facilities, Infrastructure, and Environment (SDSFIE) Spatial Data Standards for Facilities, Infrastructure, and Environment (SDSFIE) Model Builder User Guide Version 1.3 (24 April 2018) Prepared For: US Army Corps of Engineers 2018 Revision History Model

More information

Chapter 4. Windows Database Using Related Tables The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 4. Windows Database Using Related Tables The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 4 Windows Database Using Related Tables McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Objectives - 1 Explain the types of table relationships Display master/detail records

More information

6232B: Implementing a Microsoft SQL Server 2008 R2 Database

6232B: Implementing a Microsoft SQL Server 2008 R2 Database 6232B: Implementing a Microsoft SQL Server 2008 R2 Database Course Overview This instructor-led course is intended for Microsoft SQL Server database developers who are responsible for implementing a database

More information

IBM EXAM QUESTIONS & ANSWERS

IBM EXAM QUESTIONS & ANSWERS IBM 000-730 EXAM QUESTIONS & ANSWERS Number: 000-730 Passing Score: 800 Time Limit: 120 min File Version: 69.9 http://www.gratisexam.com/ IBM 000-730 EXAM QUESTIONS & ANSWERS Exam Name: DB2 9 Fundamentals

More information

An OO Code Generator A Live OO Project

An OO Code Generator A Live OO Project A Live OO Project Part I Tim Kuehn Senior Consultant www.tdkcs.com Outline Presentation Goal: To discuss the application of various OO concepts in a real-world project that does something useful. Project

More information

Microsoft MB Microsoft CRM Extending MS CRM 1.2 with.net.

Microsoft MB Microsoft CRM Extending MS CRM 1.2 with.net. Microsoft MB2-228 Microsoft CRM Extending MS CRM 1.2 with.net http://killexams.com/exam-detail/mb2-228 Answer: A, C QUESTION: 140 Which of the following statements are true for Microsoft CRM object dependencies?

More information

Microservice Splitting the Monolith. Software Engineering II Sharif University of Technology MohammadAmin Fazli

Microservice Splitting the Monolith. Software Engineering II Sharif University of Technology MohammadAmin Fazli Microservice Software Engineering II Sharif University of Technology MohammadAmin Fazli Topics Seams Why to split the monolith Tangled Dependencies Splitting and Refactoring Databases Transactional Boundaries

More information

6.1 Understand Relational Database Management Systems

6.1 Understand Relational Database Management Systems L E S S O N 6 6.1 Understand Relational Database Management Systems 6.2 Understand Database Query Methods 6.3 Understand Database Connection Methods MTA Software Fundamentals 6 Test L E S S O N 6. 1 Understand

More information

Listing of SQLSTATE values

Listing of SQLSTATE values Listing of values 1 of 28 5/15/2008 11:28 AM Listing of values The tables in this topic provide descriptions of codes that can be returned to applications by DB2 UDB for iseries. The tables include values,

More information

Kendo UI. Builder by Progress : Using Kendo UI Designer

Kendo UI. Builder by Progress : Using Kendo UI Designer Kendo UI Builder by Progress : Using Kendo UI Designer Copyright 2017 Telerik AD. All rights reserved. December 2017 Last updated with new content: Version 2.1 Updated: 2017/12/22 3 Copyright 4 Contents

More information

VMware vrealize operations Management Pack FOR. PostgreSQL. User Guide

VMware vrealize operations Management Pack FOR. PostgreSQL. User Guide VMware vrealize operations Management Pack FOR PostgreSQL User Guide TABLE OF CONTENTS 1. Purpose... 3 2. Introduction to the Management Pack... 3 2.1 How the Management Pack Collects Data... 3 2.2 Data

More information

INTRODUCTION ACCESS 2010

INTRODUCTION ACCESS 2010 INTRODUCTION ACCESS 2010 Overview of Ms. Access 2010 Microsoft Access is a computer application used to create and manage databases. Access Databases can store any type of information: numbers, text, and

More information

Chapter 2. DB2 concepts

Chapter 2. DB2 concepts 4960ch02qxd 10/6/2000 7:20 AM Page 37 DB2 concepts Chapter 2 Structured query language 38 DB2 data structures 40 Enforcing business rules 49 DB2 system structures 52 Application processes and transactions

More information

OPENEDGE TRAINING SYNOPSES course synopses for OpenEdge Training.

OPENEDGE TRAINING SYNOPSES course synopses for OpenEdge Training. OPENEDGE TRAINING SYNOPSES 2013 course synopses for OpenEdge Training. CONTENTS DEVELOPMENT AND PROGRAMMING OpenEdge Programming with a Character UI... 3 Persistence and Named Events... 4 Dynamic Query

More information

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices. MySQL for Excel Abstract This is the MySQL for Excel Reference Manual. It documents MySQL for Excel 1.3 through 1.3.7. Much of the documentation also applies to the previous 1.2 series. For notes detailing

More information

QuickStart Guide 4 - Merge

QuickStart Guide 4 - Merge QuickStart Guide 4 - Merge Document Version: v1.0 Product Version: v2.x Date: 13 th May 2017 This document provides an overview and Step-by-Step implementation instructions for the clearmdm Merge MDM operation.

More information

Sending Alerts and Incident Notifications

Sending Alerts and Incident Notifications CHAPTER 23 A Cisco Systems MARS alert action is a signal transmitted to people or devices as notification that a MARS rule has fired, and that an incident has been logged. Alert actions can only be configured

More information

Content Sharing and Reuse in PTC Integrity Lifecycle Manager

Content Sharing and Reuse in PTC Integrity Lifecycle Manager Content Sharing and Reuse in PTC Integrity Lifecycle Manager Author: Scott Milton 1 P age Table of Contents 1. Abstract... 3 2. Introduction... 4 3. Document Model... 5 3.1. Reference Modes... 6 4. Reusing

More information

PL/SQL Block structure

PL/SQL Block structure PL/SQL Introduction Disadvantage of SQL: 1. SQL does t have any procedural capabilities. SQL does t provide the programming technique of conditional checking, looping and branching that is vital for data

More information

C Examcollection.Premium.Exam.58q

C Examcollection.Premium.Exam.58q C2090-610.Examcollection.Premium.Exam.58q Number: C2090-610 Passing Score: 800 Time Limit: 120 min File Version: 32.2 http://www.gratisexam.com/ Exam Code: C2090-610 Exam Name: DB2 10.1 Fundamentals Visualexams

More information

IBM Optim. Edit User Manual. Version7Release3

IBM Optim. Edit User Manual. Version7Release3 IBM Optim Edit User Manual Version7Release3 IBM Optim Edit User Manual Version7Release3 Note Before using this information and the product it supports, read the information in Notices on page 79. Version

More information

Adobe Marketing Cloud Dataset Configuration

Adobe Marketing Cloud Dataset Configuration Adobe Marketing Cloud Dataset Configuration Contents Dataset Configuration...6 Understanding Dataset Construction...6 Log Processing...6 Transformation...7 Understanding Dataset Configuration...8 Required

More information

WHEN is used to specify rows that meet a criteria such as: WHEN (EMP_SALARY < 90000). SELECT and SUBSET are invalid clauses and would cause an error.

WHEN is used to specify rows that meet a criteria such as: WHEN (EMP_SALARY < 90000). SELECT and SUBSET are invalid clauses and would cause an error. 1. Suppose you have created a test version of a production table, and you want to to use the UNLOAD utility to extract the first 5,000 rows from the production table to load to the test version. Which

More information

Imagine. Create. Discover. User Manual. TopLine Results Corporation

Imagine. Create. Discover. User Manual. TopLine Results Corporation Imagine. Create. Discover. User Manual TopLine Results Corporation 2008-2009 Created: Tuesday, March 17, 2009 Table of Contents 1 Welcome 1 Features 2 2 Installation 4 System Requirements 5 Obtaining Installation

More information

Sql Server Check If Global Temporary Table Exists

Sql Server Check If Global Temporary Table Exists Sql Server Check If Global Temporary Table Exists I am trying to create a temp table from the a select statement so that I can get the schema information from the temp I have yet to see a valid justification

More information

Cross-loading of Legacy Data Using the Designer/2000 Repository Data Model OBJECTIVES ABSTRACT

Cross-loading of Legacy Data Using the Designer/2000 Repository Data Model OBJECTIVES ABSTRACT Cross-loading of Legacy Data Using the Designer/2000 Repository Data Model Jeffrey M. Stander ANZUS Technology International Presented at ODTUG 1996 Meeting OBJECTIVES To design and implement a methodology

More information

Final Review. May 9, 2017

Final Review. May 9, 2017 Final Review May 9, 2017 1 SQL 2 A Basic SQL Query (optional) keyword indicating that the answer should not contain duplicates SELECT [DISTINCT] target-list A list of attributes of relations in relation-list

More information

What is Transaction? Why Transaction Management Required? JDBC Transaction Management in Java with Example. JDBC Transaction Management Example

What is Transaction? Why Transaction Management Required? JDBC Transaction Management in Java with Example. JDBC Transaction Management Example JDBC Transaction Management in Java with Example Here you will learn to implement JDBC transaction management in java. By default database is in auto commit mode. That means for any insert, update or delete

More information

Final Review. May 9, 2018 May 11, 2018

Final Review. May 9, 2018 May 11, 2018 Final Review May 9, 2018 May 11, 2018 1 SQL 2 A Basic SQL Query (optional) keyword indicating that the answer should not contain duplicates SELECT [DISTINCT] target-list A list of attributes of relations

More information

Managing Templates and Data Files

Managing Templates and Data Files CHAPTER 10 This chapter explains the use of templates and data files in Prime Provisioning. It contains the following sections: Overview, page 10-1 Basic Template and Data File Tasks, page 10-5 Using Templates

More information

SQL Interview Questions

SQL Interview Questions SQL Interview Questions SQL stands for Structured Query Language. It is used as a programming language for querying Relational Database Management Systems. In this tutorial, we shall go through the basic

More information

Developing Microsoft SQL Server 2012 Databases

Developing Microsoft SQL Server 2012 Databases Course 10776 : Developing Microsoft SQL Server 2012 Databases Page 1 of 13 Developing Microsoft SQL Server 2012 Databases Course 10776: 4 days; Instructor-Led Introduction This 4-day instructor-led course

More information

Powerful PeopleSoft 9.2 Composite & Connected Query

Powerful PeopleSoft 9.2 Composite & Connected Query Powerful PeopleSoft 9.2 Composite & Connected Query Session ID#: 103070 Prepared by: Keith Harper Practice Director, Supply Chain and Manufacturing SpearMC Consulting @SpearMC Agenda About SpearMC and

More information

Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept]

Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept] Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept] 1. What is DBMS? A Database Management System (DBMS) is a program that controls creation, maintenance and use

More information

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016 DATABASE SYSTEMS Database programming in a web environment Database System Course, 2016 AGENDA FOR TODAY Advanced Mysql More than just SELECT Creating tables MySQL optimizations: Storage engines, indexing.

More information

ISV Migrating to Oracle9i/10g

ISV Migrating to Oracle9i/10g ISV Migrating to Oracle9i/10g Methodology, Tips & Tricks and Resources Tom Laszewski Technical Director Partner Technical Services Server Technologies Agenda Typical Migration Projects Migration Methodology

More information

Things to remember when working with Oracle... (for UDB specialists)

Things to remember when working with Oracle... (for UDB specialists) TRAINING & CONSULTING Things to remember when working with Oracle... (for UDB specialists) Kris Van Thillo, ABIS ABIS Training & Consulting www.abis.be training@abis.be 2013 Document number: DB2LUWUserMeeting2013Front.fm

More information

Introduction to Geodatabase and Spatial Management in ArcGIS. Craig Gillgrass Esri

Introduction to Geodatabase and Spatial Management in ArcGIS. Craig Gillgrass Esri Introduction to Geodatabase and Spatial Management in ArcGIS Craig Gillgrass Esri Session Path The Geodatabase - What is it? - Why use it? - What types are there? - What can I do with it? Query Layers

More information

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices. MySQL for Excel Abstract This is the MySQL for Excel Reference Manual. It documents MySQL for Excel 1.3 through 1.3.7. Much of the documentation also applies to the previous 1.2 series. For notes detailing

More information

Oracle Revenue Management and Billing. File Upload Interface (FUI) - User Guide. Version Revision 1.1

Oracle Revenue Management and Billing. File Upload Interface (FUI) - User Guide. Version Revision 1.1 Oracle Revenue Management and Billing Version 2.6.0.1.0 File Upload Interface (FUI) - User Guide Revision 1.1 E97081-01 May, 2018 Oracle Revenue Management and Billing File Upload Interface (FUI) - User

More information

PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL)

PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL) Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 6 Database Programming PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL) AGENDA 8. Using Declarative SQL in Procedural SQL

More information

Horizontal Table Partitioning

Horizontal Table Partitioning Horizontal Table Partitioning Dealing with a manageable slice of the pie. Richard Banville Fellow, OpenEdge Development August 7, 2013 Agenda OverviewFunctionalityUsageSummary 2 Agenda 1 Overview 2 Feature

More information

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices. MySQL for Excel Abstract This is the MySQL for Excel Reference Manual. It documents MySQL for Excel 1.3 through 1.3.7. Much of the documentation also applies to the previous 1.2 series. For notes detailing

More information

D&B360. User Guide. for Microsoft Dynamics CRM. Version 2.3

D&B360. User Guide. for Microsoft Dynamics CRM. Version 2.3 D&B360 User Guide for Microsoft Dynamics CRM Version 2.3 D&B360 is a trademark or registered trademark of Dun and Bradstreet, Incorporated. Other trademarks used herein are the trademarks or registered

More information

Developing Microsoft SQL Server 2012 Databases

Developing Microsoft SQL Server 2012 Databases Course 10776A: Developing Microsoft SQL Server 2012 Databases Course Details Course Outline Module 1: Introduction to SQL Server 2012 and its Toolset This module stresses on the fact that before beginning

More information

Developing Microsoft SQL Server 2012 Databases 36 Contact Hours

Developing Microsoft SQL Server 2012 Databases 36 Contact Hours Developing Microsoft SQL Server 2012 Databases 36 Contact Hours Course Overview This 5-day instructor-led course introduces SQL Server 2012 and describes logical table design, indexing and query plans.

More information

Stop! Don t throw away that ADM2 code just yet. Jeff Ledbetter Product Architect, Roundtable Software

Stop! Don t throw away that ADM2 code just yet. Jeff Ledbetter Product Architect, Roundtable Software Stop! Don t throw away that ADM2 code just yet Jeff Ledbetter Product Architect, Roundtable Software Who do we think we are? Roundtable TSMS Software Configuration Management for OpenEdge Roundtable Team

More information

Working with DB2 Data Using SQL and XQuery Answers

Working with DB2 Data Using SQL and XQuery Answers Working with DB2 Data Using SQL and XQuery Answers 66. The correct answer is D. When a SELECT statement such as the one shown is executed, the result data set produced will contain all possible combinations

More information

Powerful PeopleSoft 9.2 Connected & Composite Query

Powerful PeopleSoft 9.2 Connected & Composite Query Powerful PeopleSoft 9.2 Connected & Composite Query Session ID#: 103070 Prepared by: Keith Harper Practice Director, Supply Chain and Manufacturing SpearMC Consulting @SpearMC Welcome and Please: Silence

More information

Draft. Students Table. FName LName StudentID College Year. Justin Ennen Science Senior. Dan Bass Management Junior

Draft. Students Table. FName LName StudentID College Year. Justin Ennen Science Senior. Dan Bass Management Junior Chapter 6 Introduction to SQL 6.1 What is a SQL? When would I use it? SQL stands for Structured Query Language. It is a language used mainly for talking to database servers. It s main feature divisions

More information

Kendo UI Builder by Progress : Using Kendo UI Designer

Kendo UI Builder by Progress : Using Kendo UI Designer Kendo UI Builder by Progress : Using Kendo UI Designer Notices 2016 Telerik AD. All rights reserved. November 2016 Last updated with new content: Version 1.1 3 Notices 4 Contents Table of Contents Chapter

More information

Oracle Database 10g: New Features for Administrators Release 2

Oracle Database 10g: New Features for Administrators Release 2 Oracle University Contact Us: +27 (0)11 319-4111 Oracle Database 10g: New Features for Administrators Release 2 Duration: 5 Days What you will learn This course introduces students to the new features

More information

SQL: Advanced topics. Assertions

SQL: Advanced topics. Assertions SQL: Advanced topics Prof. Weining Zhang Cs.utsa.edu Assertions Constraints defined over multiple tables. No student is allowed to take more than six courses. SQL> create assertion Course_Constraint check

More information

John Edgar 2

John Edgar 2 CMPT 354 http://www.cs.sfu.ca/coursecentral/354/johnwill/ John Edgar 2 Assignments 30% Midterm exam in class 20% Final exam 50% John Edgar 3 A database is a collection of information Databases of one

More information

Enterprise JavaBeans 3.1

Enterprise JavaBeans 3.1 SIXTH EDITION Enterprise JavaBeans 3.1 Andrew Lee Rubinger and Bill Burke O'REILLY* Beijing Cambridge Farnham Kbln Sebastopol Tokyo Table of Contents Preface xv Part I. Why Enterprise JavaBeans? 1. Introduction

More information

Connected Query. PS NW RUG May 12, 2015

Connected Query. PS NW RUG May 12, 2015 Connected Query PS NW RUG May 12, 2015 11/24/2015 2014 SpearMC Consulting 1 Agenda About SpearMC What is Connected Query Why it s Cool! Demo of Connected Query Other CQ Content 2 2014 SpearMC Consulting

More information

Using Event Hooks and API. Roundtable TSMS. Roundtable Development Team

Using Event Hooks and API. Roundtable TSMS. Roundtable Development Team Using Event Hooks and API Roundtable TSMS Roundtable Development Team Table of Contents 1 Overview...1 2 Intercepting Roundtable Events...1 2.1 The Event Procedure...1 2.2 Example Enforcing Update Notes...2

More information

Chapter 8: Working With Databases & Tables

Chapter 8: Working With Databases & Tables Chapter 8: Working With Databases & Tables o Working with Databases & Tables DDL Component of SQL Databases CREATE DATABASE class; o Represented as directories in MySQL s data storage area o Can t have

More information

COMP 3400 Mainframe Administration 1

COMP 3400 Mainframe Administration 1 COMP 3400 Mainframe Administration 1 Christian Grothoff christian@grothoff.org http://grothoff.org/christian/ 1 These slides are based in part on materials provided by IBM s Academic Initiative. 1 Databases

More information

Recently Updated Dumps from PassLeader with VCE and PDF (Question 1 - Question 15)

Recently Updated Dumps from PassLeader with VCE and PDF (Question 1 - Question 15) Recently Updated 70-467 Dumps from PassLeader with VCE and PDF (Question 1 - Question 15) Valid 70-467 Dumps shared by PassLeader for Helping Passing 70-467 Exam! PassLeader now offer the newest 70-467

More information

ExecuTrain Course Outline Course 10776A: Developing Microsoft SQL Server 2012 Databases 5 Days

ExecuTrain Course Outline Course 10776A: Developing Microsoft SQL Server 2012 Databases 5 Days ExecuTrain Course Outline Course 10776A: Developing Microsoft SQL Server 2012 Databases 5 Days About this Course This 5-day instructor-led course introduces SQL Server 2012 and describes logical table

More information

Information Systems Engineering. Other Database Concepts

Information Systems Engineering. Other Database Concepts Information Systems Engineering Other Database Concepts 1 Views In a database it is possible to create virtual tables called views Views are not stored in the database They are defined and computed from

More information

See Types of Data Supported for information about the types of files that you can import into Datameer.

See Types of Data Supported for information about the types of files that you can import into Datameer. Importing Data When you import data, you import it into a connection which is a collection of data from different sources such as various types of files and databases. See Configuring a Connection to learn

More information

Difficult I.Q on Databases, asked to SCTPL level 2 students 2015

Difficult I.Q on Databases, asked to SCTPL level 2 students 2015 Do you know the basic memory structures associated with any Oracle Database. (W.r.t 10g / 11g / 12c)? The basic memory structures associated with Oracle Database include: System Global Area (SGA) The SGA

More information

Oracle Rebuild All Unusable Indexes In Schema

Oracle Rebuild All Unusable Indexes In Schema Oracle Rebuild All Unusable Indexes In Schema How to determine row count for all tables in an Oracle Schema? Manual Script to compile invalid objects Script to rebuild all UNUSABLE indexes in oracle. In

More information

ORACLE 12C NEW FEATURE. A Resource Guide NOV 1, 2016 TECHGOEASY.COM

ORACLE 12C NEW FEATURE. A Resource Guide NOV 1, 2016 TECHGOEASY.COM ORACLE 12C NEW FEATURE A Resource Guide NOV 1, 2016 TECHGOEASY.COM 1 Oracle 12c New Feature MULTITENANT ARCHITECTURE AND PLUGGABLE DATABASE Why Multitenant Architecture introduced with 12c? Many Oracle

More information

Tips and Tricks Working with Scribe Trace Files

Tips and Tricks Working with Scribe Trace Files Tips and Tricks Working with Scribe Trace Files This document gives some details about how Scribe tracing works, how to enable tracing, and how to read trace files. It also includes some tips and tricks

More information

"Charting the Course... MOC A Developing Microsoft SQL Server 2012 Databases. Course Summary

Charting the Course... MOC A Developing Microsoft SQL Server 2012 Databases. Course Summary Course Summary Description This 5-day instructor-led course introduces SQL Server 2012 and describes logical table design, indexing and query plans. It also focuses on the creation of database objects

More information

CSE 332: Data Structures and Parallelism Winter 2019 Setting Up Your CSE 332 Environment

CSE 332: Data Structures and Parallelism Winter 2019 Setting Up Your CSE 332 Environment CSE 332: Data Structures and Parallelism Winter 2019 Setting Up Your CSE 332 Environment This document guides you through setting up Eclipse for CSE 332. The first section covers using gitlab to access

More information

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data. Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting

More information

Question: Which statement would you use to invoke a stored procedure in isql*plus?

Question: Which statement would you use to invoke a stored procedure in isql*plus? What are the two types of subprograms? procedure and function Which statement would you use to invoke a stored procedure in isql*plus? EXECUTE Which SQL statement allows a privileged user to assign privileges

More information

An Introduction to Big Data Formats

An Introduction to Big Data Formats Introduction to Big Data Formats 1 An Introduction to Big Data Formats Understanding Avro, Parquet, and ORC WHITE PAPER Introduction to Big Data Formats 2 TABLE OF TABLE OF CONTENTS CONTENTS INTRODUCTION

More information

Assorted Topics Stored Procedures and Triggers Pg 1

Assorted Topics Stored Procedures and Triggers Pg 1 Assorted Topics Stored Procedures and Triggers Pg 1 Stored Procedures and Triggers Ray Lockwood Points: A Stored Procedure is a user-written program stored in the database. A Trigger is a stored procedure

More information

CHAPTER 3 RECOVERY & CONCURRENCY ADVANCED DATABASE SYSTEMS. Assist. Prof. Dr. Volkan TUNALI

CHAPTER 3 RECOVERY & CONCURRENCY ADVANCED DATABASE SYSTEMS. Assist. Prof. Dr. Volkan TUNALI CHAPTER 3 RECOVERY & CONCURRENCY ADVANCED DATABASE SYSTEMS Assist. Prof. Dr. Volkan TUNALI PART 1 2 RECOVERY Topics 3 Introduction Transactions Transaction Log System Recovery Media Recovery Introduction

More information

MCSE Data Management and Analytics. A Success Guide to Prepare- Developing Microsoft SQL Server Databases. edusum.com

MCSE Data Management and Analytics. A Success Guide to Prepare- Developing Microsoft SQL Server Databases. edusum.com 70-464 MCSE Data Management and Analytics A Success Guide to Prepare- Developing Microsoft SQL Server Databases edusum.com Table of Contents Introduction to 70-464 Exam on Developing Microsoft SQL Server

More information

20762B: DEVELOPING SQL DATABASES

20762B: DEVELOPING SQL DATABASES ABOUT THIS COURSE This five day instructor-led course provides students with the knowledge and skills to develop a Microsoft SQL Server 2016 database. The course focuses on teaching individuals how to

More information

Scribe Insight 6.5. Release Overview and Technical Information Version 1.0 April 7,

Scribe Insight 6.5. Release Overview and Technical Information Version 1.0 April 7, Scribe Insight 6.5 Release Overview and Technical Information Version 1.0 April 7, 2009 www.scribesoft.com Contents What is Scribe Insight?... 3 Release Overview... 3 Product Management Process Customer

More information

IBM. Mailbox. Sterling B2B Integrator. Version 5.2

IBM. Mailbox. Sterling B2B Integrator. Version 5.2 Sterling B2B Integrator IBM Version 5.2 Sterling B2B Integrator IBM Version 5.2 Note Before using this information and the product it supports, read the information in Notices on page 37. Copyright This

More information

White Paper. RPF Exporter

White Paper. RPF Exporter White Paper RPF Exporter October 2001 RPF Exporter Exporting Prerequisites...2 RPF Export Preferences...2 Preferences...2 RPF Exporter...3 Export RPF Tool...4 RPF Info Tab...5 NITF Tab...6 Color Table

More information

MarkLogic Server. Database Replication Guide. MarkLogic 6 September, Copyright 2012 MarkLogic Corporation. All rights reserved.

MarkLogic Server. Database Replication Guide. MarkLogic 6 September, Copyright 2012 MarkLogic Corporation. All rights reserved. Database Replication Guide 1 MarkLogic 6 September, 2012 Last Revised: 6.0-1, September, 2012 Copyright 2012 MarkLogic Corporation. All rights reserved. Database Replication Guide 1.0 Database Replication

More information

Madhya Pradesh Bhoj (Open) University, Bhopal Diploma in Computer Application (DCA) Assignment Question Paper I

Madhya Pradesh Bhoj (Open) University, Bhopal Diploma in Computer Application (DCA) Assignment Question Paper I Subject : - Fundamental of Computer and IT Maximum Marks : 30 1. Explain various characteristics of computer & various uses of it. 2. What is the software? Discuss the characteristics of user-friendly

More information

Chapter 7 File Access. Chapter Table of Contents

Chapter 7 File Access. Chapter Table of Contents Chapter 7 File Access Chapter Table of Contents OVERVIEW...105 REFERRING TO AN EXTERNAL FILE...105 TypesofExternalFiles...106 READING FROM AN EXTERNAL FILE...107 UsingtheINFILEStatement...107 UsingtheINPUTStatement...108

More information

Oracle Tables TECHGOEASY.COM

Oracle Tables TECHGOEASY.COM Oracle Tables TECHGOEASY.COM 1 Oracle Tables WHAT IS ORACLE DATABASE TABLE? -Tables are the basic unit of data storage in an Oracle Database. Data is stored in rows and columns. -A table holds all the

More information

Siebel Project and Resource Management Administration Guide. Siebel Innovation Pack 2013 Version 8.1/8.2 September 2013

Siebel Project and Resource Management Administration Guide. Siebel Innovation Pack 2013 Version 8.1/8.2 September 2013 Siebel Project and Resource Management Administration Guide Siebel Innovation Pack 2013 Version 8.1/ September 2013 Copyright 2005, 2013 Oracle and/or its affiliates. All rights reserved. This software

More information

Table of Contents. Oracle SQL PL/SQL Training Courses

Table of Contents. Oracle SQL PL/SQL Training Courses Table of Contents Overview... 7 About DBA University, Inc.... 7 Eligibility... 8 Pricing... 8 Course Topics... 8 Relational database design... 8 1.1. Computer Database Concepts... 9 1.2. Relational Database

More information

Lab # 4. Data Definition Language (DDL)

Lab # 4. Data Definition Language (DDL) Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4113: Lab # 4 Data Definition Language (DDL) Eng. Haneen El-Masry November, 2014 2 Objective To be familiar with

More information

Microsoft. [MS20762]: Developing SQL Databases

Microsoft. [MS20762]: Developing SQL Databases [MS20762]: Developing SQL Databases Length : 5 Days Audience(s) : IT Professionals Level : 300 Technology : Microsoft SQL Server Delivery Method : Instructor-led (Classroom) Course Overview This five-day

More information

Database Management System 9

Database Management System 9 Database Management System 9 School of Computer Engineering, KIIT University 9.1 Relational data model is the primary data model for commercial data- processing applications A relational database consists

More information