Inventory your Data. PPDM Data Management Symposium June 2012

Size: px
Start display at page:

Download "Inventory your Data. PPDM Data Management Symposium June 2012"

Transcription

1 Inventory your Data PPDM Data Management Symposium June 2012

2 Recap PPDM Meta Model talks Practical Applications - June 2011 Know your Data Oct 2011 Group your Data March 2012 The vision: It will become the Enterprise Data Repository

3 What s next Digging deeper into the content; What is present? UWI s, BA s, Field s, PDEN s, etc. How long has it been there? Has anything disappeared? Manage it like an Inventory

4 Requirements Understand when data comes in UWI s, BA s, Field s, PDen s, etc. Understand what s populated WELL_LICENSE.LICENSEE What s NOT populated WELL_LICENSE.LICENSEE_CONTACT_ID Gap Analysis Process Review

5 Rule Capture Define your data UWI s & BA s Create Rules in PPDM_RULE PPDM_RULE RULE_ID = BA_COUNT or UWI_COUNT RULE_CLASS = Bus Reqmnt RULE_PURPOSE = Completeness USE_CONDITION_TYPE = Weekly

6 Model Analysis Dig into UWI s select PCC.TABLE_NAME,PCC.COLUMN_NAME from PPDM_CONS_COLUMN PCC,PPDM_CONSTRAINT PC where PC.SYSTEM_ID=PCC.SYSTEM_ID and PC.TABLE_NAME=PCC.TABLE_NAME and PC.CONSTRAINT_ID=PCC.CONSTRAINT_ID and PC.REFERENCED_CONSTRAINT_ID = 'W_PK' AND PC.TABLE_NAME!= 'PPDM_RULE_COMPONENT order by PCC.TABLE_NAME;

7 Model Analysis Dig into UWI s select 'COLUMN' TYPE,TABLE_NAME,COLUMN_NAME from PPDM_COLUMN where SYSTEM_ID = 'PPDM38' and COLUMN_NAME like '%UWI%'; More than 125 rows What s missing? WELL WELL_CORE BUT WELL_CORE WELL_CORE_ANALYSIS

8 Designed Consistency Relationships can go down many levels Write once, Store once, Use many times PPDM_GROUP GROUP_ID = UWI COUNT (or BA COUNT) GROUP_TYPE = ANALYTIC RULE_ID = Rule_ID UWI_COUNT RULE_ID = Rule_ID BA_COUNT

9 PPDM_GROUP_OBJECT insert into PPDM_GROUP_OBJECT (GROUP_ID,OBJECT_OBS_NO,SYSTEM_ID,TABLE_NAME, COLUMN_NAME,RULE_ID,SOURCE,ROW_QUALITY) select 'UWI COUNT',OBJECT_OBS_NO,'PPDM38',TABLE_NAME, COLUMN_NAME, 'UWI_COUNT', 'pdc', 'REFERENCE FROM PPDM_COLUMN WHERE SYSTEM_ID = 'PPDM38' AND (TABLE_NAME,COLUMN_NAME) IN (select TABLE_NAME,COLUMN_NAME from PPDM_COLUMN where SYSTEM_ID = 'PPDM38' and COLUMN_NAME like '%UWI%' UNION select PCC.TABLE_NAME,PCC.COLUMN_NAME from PPDM_CONS_COLUMN PCC,PPDM_CONSTRAINT PC where PC.SYSTEM_ID = 'PPDM38' and PC.SYSTEM_ID=PCC.SYSTEM_ID and PC.TABLE_NAME=PCC.TABLE_NAME and PC.CONSTRAINT_ID=PCC.CONSTRAINT_ID and PC.REFERENCED_CONSTRAINT_ID = 'W_PK');

10 RECAP Goal of inventorying PPDM with PPDM Defined business requirements Use PPDM_GROUP & PPDM_RULE Decomposition of the data model Next Steps Repeatable Inventory Process

11 Inventory Process Part I Logic: In-activate any existing rows for UWI_COUNT for every row in the group (UWI COUNT), see if there is any data stored If not, go to the next one If there is, store a new row in PPDM_RULE_COMPONENT Declare cursor GET_DATA is select TABLE_NAME,COLUMN_NAME from PPDM_GROUP_OBJECT where GROUP_ID = 'UWI COUNT' ORDER BY TABLE_NAME; GD GET_DATA%ROWTYPE; --

12 Inventory Process Part II found integer := 0; typ_line varchar2(2000); TYPE cur_type IS REF CURSOR; cur cur_type; QRY varchar2(2000); pkey varchar2(20); begin update PPDM_RULE_COMPONENT set ACTIVE_IND = 'N', EXPIRY_DATE=sysdate where RULE_ID = 'UWI_COUNT' and ACTIVE_IND = 'Y'; COMMIT; for GD in GET_DATA LOOP execute immediate 'select count(*) from ' GD.TABLE_NAME ' where ' gd.column_name ' is not null' into FOUND; if FOUND > 0 then qry := 'select distinct ' gd.column_name ' from ' gd.table_name ' where ' gd.column_name ' is not null'; open cur for qry; LOOP fetch CUR into PKEY; insert into PPDM_RULE_COMPONENT(RULE_ID,COMPONENT_OBS_NO, PPDM_SYSTEM_ID,PPDM_TABLE_NAME,PPDM_COLUMN_NAME,UWI,SOURCE,ROW_QUALITY) values ('UWI_COUNT','OBJECT_OBS_NO,'PPDM38',GD.TABLE_NAME,gd.column_name, PKey,'pDC','REFERENCE'); exit when CUR%notfound; END LOOP; end if; commit; found := 0; END LOOP; end; /

13 What does it tell me? All tables that have a BA (or UWI) field that s populated What does this tell us? WELL_LICENSE. LICENSEE_CONTACT_ID A little bit about the intent

14 What else can it tell me? Reporting on the content of the database Like who licenses, drills and then produces select * from (select PPDM_TABLE_NAME,BA_NAME,SUM(PRC.REMARK) ROW_COUNT from PPDM_RULE_COMPONENT PRC,BUSINESS_ASSOCIATE BA where RULE_ID='BA_COUNT' and PRC.ACTIVE_IND = 'Y' and PRC.BUSINESS_ASSOCIATE=BA.BUSINESS_ASSOCIATE group by PPDM_TABLE_NAME,BA_NAME) PIVOT (SUM(ROW_COUNT) for PPDM_TABLE_NAME in ('PDEN','WELL','WELL_LICENSE')) order by 2,3 desc

15 What can it REALLY tell me? What do you have populated in PPDM? Area tables Linked with UWI Work with data via hierarchy Group tables Linked to TABLE_NAME Work with data via processes

16 What do I do with it? Start a program to continuously measure content You can now start to know what s going on Identify data spikes being + / - Show how to leverage an existing PPDM Add in new module, like Facility

17 PPDM Model Knowledge - Vision Map Structure Time Interval #1 Select RDBMS Architect Schema(s) Run SQL to create RDBMS objects Run PPDM SQL to populate base data Create SQL reports to see what you have Time Interval #2 Time Interval #3 Time Interval #4 Ensure Backups are in place Create SQL to monitor for any type of change Create process for remediation of content changes Run SQL reports to see what you have Decide what you want in your database Test your backups Create process for remediation of structure changes Review SQL reports to see what you have Create SQL reports to see what you have Align old reference data with new Prepare for PPDM 3.9 What s new? Review SQL reports to see what you have What do you need that s new? Create reference data review process PPDM 3.8 & Beyond Validate conversion Create SQL reports to see what data you have Create DQ process & avoid GIGO Create support data review process Content Create SQL reports to see what you have Review PPDM content for applicability Identify system(s) to migrate to PPDM Context Business

18 Summary A great set of tables to help manage PPDM Continous data management that is tuned to business processes Corporate reporting is being enabled; Moving from an OLTP to DSS Validation for more

Group your Data. PPDM Data Management Symposium March 2012

Group your Data. PPDM Data Management Symposium March 2012 Group your Data PPDM Data Management Symposium March 2012 Recap PPDM Database with tables & columns PPDM Database with structure & triggers The vision: It will become the Enterprise Data Repository What

More information

PPDM Meta Model - Know your data

PPDM Meta Model - Know your data PPDM Meta Model - Know your data Enterprise Data Repository Recap PPDM database Tables & Columns Structure Content Progressive Improvement Data Context The vision: It will become the Where to start What

More information

Exploring Professional Data Management within the Petroleum Industry

Exploring Professional Data Management within the Petroleum Industry Exploring Professional Data Management within the Petroleum Industry Our world - data - information - value Outline Recap Profiling Layers Summary Recap PPDM database Tables Practical Applications Uses

More information

PPDM Meta Model Practical Applications

PPDM Meta Model Practical Applications PPDM Meta Model Practical Applications The Situation You have inherited/starting a PPDM database There are data feeds and documentation available You have time and resources to analyze it The vision: It

More information

PPDM Meta Model Some Functionality

PPDM Meta Model Some Functionality PPDM Meta Model Some Functionality Meta Model Table Groupings 1. PPDM_SYSTEM, PPDM_TABLE, PPDM_COLUMN 2. PPDM_GROUP, PPDM_GROUP_OBJECT 3. PPDM_CONSTRAINT, PPDM_CONS_COLUMN 4. PPDM_SYSTEM_MAP, PPDM_MAP_DETAIL,

More information

"Out of the Box" Workflow Simplicity Data Access Using PPDM in a Multi-Vendor Environment

Out of the Box Workflow Simplicity Data Access Using PPDM in a Multi-Vendor Environment "Out of the Box" Workflow Simplicity Data Access Using PPDM in a Multi-Vendor Environment W. Brian Boulmay Director, Business Partners Fall 2010 Abstract Proper conversion of unit and coordinate reference

More information

Chapter # 7 Introduction to Structured Query Language (SQL) Part I

Chapter # 7 Introduction to Structured Query Language (SQL) Part I Chapter # 7 Introduction to Structured Query Language (SQL) Part I Introduction to SQL SQL functions fit into two broad categories: Data definition language Data manipulation language Basic command set

More information

Stored procedures - what is it?

Stored procedures - what is it? For a long time to suffer with this issue. Literature on the Internet a lot. I had to ask around at different forums, deeper digging in the manual and explain to himself some weird moments. So, short of

More information

Workbooks (File) and Worksheet Handling

Workbooks (File) and Worksheet Handling Workbooks (File) and Worksheet Handling Excel Limitation Excel shortcut use and benefits Excel setting and custom list creation Excel Template and File location system Advanced Paste Special Calculation

More information

ADVANTAGES. Via PL/SQL, all sorts of calculations can be done quickly and efficiently without use of Oracle engine.

ADVANTAGES. Via PL/SQL, all sorts of calculations can be done quickly and efficiently without use of Oracle engine. 1 PL/SQL INTRODUCTION SQL does not have procedural capabilities. SQL does not provide the programming techniques of condition checking, looping and branching that is required for data before permanent

More information

SQL STORED ROUTINES. CS121: Relational Databases Fall 2017 Lecture 9

SQL STORED ROUTINES. CS121: Relational Databases Fall 2017 Lecture 9 SQL STORED ROUTINES CS121: Relational Databases Fall 2017 Lecture 9 SQL Functions 2 SQL queries can use sophisticated math operations and functions Can compute simple functions, aggregates Can compute

More information

Unit 1 - Chapter 4,5

Unit 1 - Chapter 4,5 Unit 1 - Chapter 4,5 CREATE DATABASE DatabaseName; SHOW DATABASES; USE DatabaseName; DROP DATABASE DatabaseName; CREATE TABLE table_name( column1 datatype, column2 datatype, column3 datatype,... columnn

More information

Data Warehouse and Data Mining

Data Warehouse and Data Mining Data Warehouse and Data Mining Lecture No. 04-06 Data Warehouse Architecture Naeem Ahmed Email: naeemmahoto@gmail.com Department of Software Engineering Mehran Univeristy of Engineering and Technology

More information

SQL functions fit into two broad categories: Data definition language Data manipulation language

SQL functions fit into two broad categories: Data definition language Data manipulation language Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Beginning Structured Query Language (SQL) MDM NUR RAZIA BINTI MOHD SURADI 019-3932846 razia@unisel.edu.my

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL)

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management Tenth Edition Chapter 7 Introduction to Structured Query Language (SQL) Objectives In this chapter, students will learn: The basic commands and

More information

CSC Web Programming. Introduction to SQL

CSC Web Programming. Introduction to SQL CSC 242 - Web Programming Introduction to SQL SQL Statements Data Definition Language CREATE ALTER DROP Data Manipulation Language INSERT UPDATE DELETE Data Query Language SELECT SQL statements end with

More information

PPDM and Data Management

PPDM and Data Management PROFESSIONAL PETROLEUM DATA MANAGEMENT ASSOCIATION PPDM and Data Management Oklahoma City June 16 th 2009 Steve Cooper Chief Communications Officer PPDM Association PPDM and Data Management This session

More information

1. Analytical queries on the dimensionally modeled database can be significantly simpler to create than on the equivalent nondimensional database.

1. Analytical queries on the dimensionally modeled database can be significantly simpler to create than on the equivalent nondimensional database. 1. Creating a data warehouse involves using the functionalities of database management software to implement the data warehouse model as a collection of physically created and mutually connected database

More information

Hyperion Interactive Reporting Reports & Dashboards Essentials

Hyperion Interactive Reporting Reports & Dashboards Essentials Oracle University Contact Us: +27 (0)11 319-4111 Hyperion Interactive Reporting 11.1.1 Reports & Dashboards Essentials Duration: 5 Days What you will learn The first part of this course focuses on two

More information

Oracle Database: SQL and PL/SQL Fundamentals

Oracle Database: SQL and PL/SQL Fundamentals Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-9 7 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training

More information

Exact Numeric Data Types

Exact Numeric Data Types SQL Server Notes for FYP SQL data type is an attribute that specifies type of data of any object. Each column, variable and expression has related data type in SQL. You would use these data types while

More information

Oracle Development - Part III: Coding Standards

Oracle Development - Part III: Coding Standards By Cheetah Solutions Editor s Note: In this final of a three-white-paper series on Oracle Custom Development, Cheetah Solutions tackles the issue of coding standards. In their concluding white paper, Cheetah

More information

ORACLE: PL/SQL Programming

ORACLE: PL/SQL Programming %ROWTYPE Attribute... 4:23 %ROWTYPE... 2:6 %TYPE... 2:6 %TYPE Attribute... 4:22 A Actual Parameters... 9:7 Actual versus Formal Parameters... 9:7 Aliases... 8:10 Anonymous Blocks... 3:1 Assigning Collection

More information

Extending the Scope of Custom Transformations

Extending the Scope of Custom Transformations Paper 3306-2015 Extending the Scope of Custom Transformations Emre G. SARICICEK, The University of North Carolina at Chapel Hill. ABSTRACT Building and maintaining a data warehouse can require complex

More information

ETL Interview Question Bank

ETL Interview Question Bank ETL Interview Question Bank Author: - Sheetal Shirke Version: - Version 0.1 ETL Architecture Diagram 1 ETL Testing Questions 1. What is Data WareHouse? A data warehouse (DW or DWH), also known as an enterprise

More information

Course 40045A: Microsoft SQL Server for Oracle DBAs

Course 40045A: Microsoft SQL Server for Oracle DBAs Skip to main content Course 40045A: Microsoft SQL Server for Oracle DBAs - Course details Course Outline Module 1: Database and Instance This module provides an understanding of the two major components

More information

Oracle Performance Tuning. Overview of performance tuning strategies

Oracle Performance Tuning. Overview of performance tuning strategies Oracle Performance Tuning Overview of performance tuning strategies Allan Young June 2008 What is tuning? Group of activities used to optimize and homogenize the performance of a database Maximize use

More information

Adding Stored Functions to an idashboards Oracle Data Source

Adding Stored Functions to an idashboards Oracle Data Source Adding Stored Functions to an idashboards Oracle Data Source Introduction: idashboards only supports Oracle Functions when it comes to Oracle data sources. It is required for a function to result in at

More information

T-sql Check If Index Exists Information_schema

T-sql Check If Index Exists Information_schema T-sql Check If Index Exists Information_schema Is there another way to check if table/column exists in SQL Server? indexes won't pick them up, causing it to use the Clustered Index whenever a new column

More information

DB2 SQL Class Outline

DB2 SQL Class Outline DB2 SQL Class Outline The Basics of SQL Introduction Finding Your Current Schema Setting Your Default SCHEMA SELECT * (All Columns) in a Table SELECT Specific Columns in a Table Commas in the Front or

More information

RDBMS-Day3. SQL Basic DDL statements DML statements Aggregate functions

RDBMS-Day3. SQL Basic DDL statements DML statements Aggregate functions RDBMS-Day3 SQL Basic DDL statements DML statements Aggregate functions SQL SQL is used to make a request to retrieve data from a Database. The DBMS processes the SQL request, retrieves the requested data

More information

MS Access Part 1 (One Day Workshop) Khader Shaik

MS Access Part 1 (One Day Workshop) Khader Shaik MS Access Part 1 (One Day Workshop) Khader Shaik MS Access - Contents Overview of MS Access Basics of Access Working with Wizards 2 What is MS Access Database Management & Application development System

More information

CS6312 DATABASE MANAGEMENT SYSTEMS LABORATORY L T P C

CS6312 DATABASE MANAGEMENT SYSTEMS LABORATORY L T P C CS6312 DATABASE MANAGEMENT SYSTEMS LABORATORY L T P C 0 0 3 2 LIST OF EXPERIMENTS: 1. Creation of a database and writing SQL queries to retrieve information from the database. 2. Performing Insertion,

More information

SQL - Subqueries and. Schema. Chapter 3.4 V4.0. Napier University

SQL - Subqueries and. Schema. Chapter 3.4 V4.0. Napier University SQL - Subqueries and Chapter 3.4 V4.0 Copyright @ Napier University Schema Subqueries Subquery one SELECT statement inside another Used in the WHERE clause Subqueries can return many rows. Subqueries can

More information

How to set up SQL Source Control The short guide for evaluators

How to set up SQL Source Control The short guide for evaluators GUIDE How to set up SQL Source Control The short guide for evaluators 1 Contents Introduction Team Foundation Server & Subversion setup Git setup Setup without a source control system Making your first

More information

MySQL 8.0 What s New in the Optimizer

MySQL 8.0 What s New in the Optimizer MySQL 8.0 What s New in the Optimizer Manyi Lu Director MySQL Optimizer & GIS Team, Oracle October 2016 Copyright Copyright 2 015, 2016,Oracle Oracle and/or and/or its its affiliates. affiliates. All All

More information

Contents I Introduction 1 Introduction to PL/SQL iii

Contents I Introduction 1 Introduction to PL/SQL iii Contents I Introduction Lesson Objectives I-2 Course Objectives I-3 Human Resources (HR) Schema for This Course I-4 Course Agenda I-5 Class Account Information I-6 Appendixes Used in This Course I-7 PL/SQL

More information

Instructor: Craig Duckett. Lecture 14: Tuesday, May 15 th, 2018 Stored Procedures (SQL Server) and MySQL

Instructor: Craig Duckett. Lecture 14: Tuesday, May 15 th, 2018 Stored Procedures (SQL Server) and MySQL Instructor: Craig Duckett Lecture 14: Tuesday, May 15 th, 2018 Stored Procedures (SQL Server) and MySQL 1 Assignment 3 is due LECTURE 20, Tuesday, June 5 th Database Presentation is due LECTURE 20, Tuesday,

More information

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time SQL Basics & PL-SQL Complete Practical & Real-time Training Sessions A Unit of SequelGate Innovative Technologies Pvt. Ltd. ISO Certified Training Institute Microsoft Certified Partner Training Highlights

More information

Advanced Data Management Technologies Written Exam

Advanced Data Management Technologies Written Exam Advanced Data Management Technologies Written Exam 02.02.2016 First name Student number Last name Signature Instructions for Students Write your name, student number, and signature on the exam sheet. This

More information

MTA Database Administrator Fundamentals Course

MTA Database Administrator Fundamentals Course MTA Database Administrator Fundamentals Course Session 1 Section A: Database Tables Tables Representing Data with Tables SQL Server Management Studio Section B: Database Relationships Flat File Databases

More information

Transactions Transaction Isolation levels locks Locks Types of Locks Shared Locks(S)

Transactions Transaction Isolation levels locks Locks Types of Locks Shared Locks(S) Transactions Transaction: When you give something to me, and I take it; then it s a transaction. When you withdraw money from an ATM machine, and you receive the money; then it is also a kind of transaction.

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

1) Introduction to SQL

1) Introduction to SQL 1) Introduction to SQL a) Database language enables users to: i) Create the database and relation structure; ii) Perform insertion, modification and deletion of data from the relationship; and iii) Perform

More information

Trouble-free Upgrade to Oracle Database 12c with Real Application Testing

Trouble-free Upgrade to Oracle Database 12c with Real Application Testing Trouble-free Upgrade to Oracle Database 12c with Real Application Testing Kurt Engeleiter Principal Product Manager Safe Harbor Statement The following is intended to outline our general product direction.

More information

Oracle 12C DBA Online Training. Course Modules of Oracle 12C DBA Online Training: 1 Oracle Database 12c: Introduction to SQL:

Oracle 12C DBA Online Training. Course Modules of Oracle 12C DBA Online Training: 1 Oracle Database 12c: Introduction to SQL: Course Modules of Oracle 12C DBA Online Training: 1 Oracle Database 12c: Introduction to SQL: A. Introduction Course Objectives, Course Agenda and Appendixes Used in this Course Overview of Oracle Database

More information

DS Introduction to SQL Part 1 Single-Table Queries. By Michael Hahsler based on slides for CS145 Introduction to Databases (Stanford)

DS Introduction to SQL Part 1 Single-Table Queries. By Michael Hahsler based on slides for CS145 Introduction to Databases (Stanford) DS 1300 - Introduction to SQL Part 1 Single-Table Queries By Michael Hahsler based on slides for CS145 Introduction to Databases (Stanford) Overview 1. SQL introduction & schema definitions 2. Basic single-table

More information

Querying Data with Transact SQL

Querying Data with Transact SQL Course 20761A: Querying Data with Transact SQL Course details Course Outline Module 1: Introduction to Microsoft SQL Server 2016 This module introduces SQL Server, the versions of SQL Server, including

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

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The basic commands

More information

Oracle Database 11g: SQL and PL/SQL Fundamentals

Oracle Database 11g: SQL and PL/SQL Fundamentals Oracle University Contact Us: +33 (0) 1 57 60 20 81 Oracle Database 11g: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn In this course, students learn the fundamentals of SQL and PL/SQL

More information

UNIT 4 DATABASE SYSTEM CATALOGUE

UNIT 4 DATABASE SYSTEM CATALOGUE UNIT 4 DATABASE SYSTEM CATALOGUE Database System Structure Page Nos. 4.0 Introduction 65 4.1 Objectives 66 4.2 for Relational Database Management System 66 4.3 Data Dictionary and Data Repository System

More information

JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology

JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology Introduction A database administrator (DBA) is a person responsible for the installation,

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Copyright 2013, Oracle and/or its affiliates. All rights reserved. 1 Oracle NoSQL Database: Release 3.0 What s new and why you care Dave Segleau NoSQL Product Manager The following is intended to outline our general product direction. It is intended for information purposes

More information

IBM DB2 9.7 SQL Procedure Developer.

IBM DB2 9.7 SQL Procedure Developer. IBM 000-545 DB2 9.7 SQL Procedure Developer http://killexams.com/exam-detail/000-545 QUESTION: 105 Click the Exhibit button. Referring to the exhibit, which two statements are correct? (Choose two.) A.

More information

Intellicus Enterprise Reporting and BI Platform

Intellicus Enterprise Reporting and BI Platform Working with Query Objects Intellicus Enterprise Reporting and BI Platform ` Intellicus Technologies info@intellicus.com www.intellicus.com Working with Query Objects i Copyright 2012 Intellicus Technologies

More information

Principles of Data Management

Principles of Data Management Principles of Data Management Alvin Lin August 2018 - December 2018 Structured Query Language Structured Query Language (SQL) was created at IBM in the 80s: SQL-86 (first standard) SQL-89 SQL-92 (what

More information

BW C SILWOOD TECHNOLOGY LTD. Safyr Metadata Discovery Software. Safyr User Guide

BW C SILWOOD TECHNOLOGY LTD. Safyr Metadata Discovery Software. Safyr User Guide BW C SILWOOD TECHNOLOGY LTD Safyr Metadata Discovery Software Safyr User Guide S I L W O O D T E C H N O L O G Y L I M I T E D Safyr User Guide Safyr 7.1 This product is subject to the license agreement

More information

INTRODUCTION TO RELATIONAL DATABASE SYSTEMS

INTRODUCTION TO RELATIONAL DATABASE SYSTEMS INTRODUCTION TO RELATIONAL DATABASE SYSTEMS DATENBANKSYSTEME 1 (INF 3131) Torsten Grust Universität Tübingen Winter 2015/16 1 CONSTRAINTS Schemata capture the structural aspects of a mini-world and largely

More information

Chapter-14 SQL COMMANDS

Chapter-14 SQL COMMANDS Chapter-14 SQL COMMANDS What is SQL? Structured Query Language and it helps to make practice on SQL commands which provides immediate results. SQL is Structured Query Language, which is a computer language

More information

Database System Concepts

Database System Concepts Chapter 4(+8): Advanced SQL Departamento de Engenharia Informática Instituto Superior Técnico 1 st Semester 2007/2008 Slides (fortemente) baseados nos slides oficiais do livro c Silberschatz, Korth and

More information

Oracle Login Max Length Table Name 11g Column Varchar2

Oracle Login Max Length Table Name 11g Column Varchar2 Oracle Login Max Length Table Name 11g Column Varchar2 Get max(length(column)) for all columns in an Oracle table tables you are looking at BEGIN -- loop through column names in all_tab_columns for a given

More information

T-SQL SET Statements

T-SQL SET Statements T-SQL SET Statements www.tsql.info On Transact sql language the SET statements allow you to change the current session handling of specific information like: dateformat, system language, lock timeout,

More information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle Database: SQL and PL/SQL Fundamentals NEW Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the fundamentals of SQL and PL/SQL along with the

More information

SQL User Defined Code. Kathleen Durant CS 3200

SQL User Defined Code. Kathleen Durant CS 3200 SQL User Defined Code Kathleen Durant CS 3200 1 User Session Objects Literals Text single quoted strings Numbers Database objects: databases, tables, fields, procedures and functions Can set a default

More information

Sql Server Syllabus. Overview

Sql Server Syllabus. Overview Sql Server Syllabus Overview This SQL Server training teaches developers all the Transact-SQL skills they need to create database objects like Tables, Views, Stored procedures & Functions and triggers

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

Oracle Database: SQL and PL/SQL Fundamentals Ed 2

Oracle Database: SQL and PL/SQL Fundamentals Ed 2 Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Oracle Database: SQL and PL/SQL Fundamentals Ed 2 Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals

More information

Load data into Table from external files, using two methods:

Load data into Table from external files, using two methods: Load data into Table from external files, using two methods: 1) SQL Loader 2) External tables I) SQL Loader. Source Table Name : SYS.DBA_USERS Target Table Name : SYS.MY_DBA_USERS 1) We need to have the

More information

Convert Point of Sale Enterprise database to Point of Sale Professional database

Convert Point of Sale Enterprise database to Point of Sale Professional database Convert Point of Sale Enterprise database to Point of Sale Professional database As Reckon has stopped releasing POS Enterprise from 2017 onwards, we have prepared the following guidance to help you convert

More information

An Information Asset Hub. How to Effectively Share Your Data

An Information Asset Hub. How to Effectively Share Your Data An Information Asset Hub How to Effectively Share Your Data Hello! I am Jack Kennedy Data Architect @ CNO Enterprise Data Management Team Jack.Kennedy@CNOinc.com 1 4 Data Functions Your Data Warehouse

More information

Announcements (September 14) SQL: Part I SQL. Creating and dropping tables. Basic queries: SFW statement. Example: reading a table

Announcements (September 14) SQL: Part I SQL. Creating and dropping tables. Basic queries: SFW statement. Example: reading a table Announcements (September 14) 2 SQL: Part I Books should have arrived by now Homework #1 due next Tuesday Project milestone #1 due in 4 weeks CPS 116 Introduction to Database Systems SQL 3 Creating and

More information

Index Creation Performance during Data Loading

Index Creation Performance during Data Loading Technical Note 6: Index Creation Performance during Data Loading Technical Note 6 Index creation performance during Data Load Last Modified: October 2, 2003 Version 1 Area: Data Loading Siebel Releases:

More information

Introduction to pysqlite

Introduction to pysqlite Introduction to pysqlite A crash course to accessing SQLite from within your Python programs. Based on pysqlite 2.0. SQLite basics SQLite is embedded, there is no server Each SQLite database is stored

More information

CSC 120 Worksheet 12 Databases

CSC 120 Worksheet 12 Databases CSC 120 Worksheet 12 Databases 1 Format for SQLite Commands We will create tables and retrieve data from the tables using Python and SQLite. You can find a list of Python and SQLite commands at the end

More information

Safe Harbor Statement

Safe Harbor Statement Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment

More information

What s the Deal with the New Windows ClearQuest Eclipse Client?

What s the Deal with the New Windows ClearQuest Eclipse Client? What s the Deal with the New Windows ClearQuest Eclipse Client? As some of you may have noticed, when IBM Rational ClearQuest 7.0 was released, it included two clients for launching ClearQuest defect tracking.

More information

close close cursor close cursor-name NAME SYNTAX

close close cursor close cursor-name NAME SYNTAX close(sql) close(sql) NAME SYNTAX close close cursor close cursor-name DESCRIPTION The close statement terminates the specified cursor. The access method automatically releases resources associated with

More information

SQL Injection Attacks

SQL Injection Attacks SQL Injection Attacks & Some Tips On How To Prevent Them SQL Server User Group Edinburgh 29 th June 2011 Code Examples All the code examples can be found on my blog: /blog/category/ sql-injection-attack-talk/

More information

MICHIEL ROOK DATABASE MIGRATIONS WITHOUT DOWN TIME

MICHIEL ROOK DATABASE MIGRATIONS WITHOUT DOWN TIME MICHIEL ROOK DATABASE MIGRATIONS WITHOUT DOWN TIME @michieltcs Developer, consultant, trainer, speaker @michieltcs ABOUT DATABASE MIGRATIONS ABOUT SCHEMA MIGRATIONS SQL UP @michieltcs UP DOWN @michieltcs

More information

Creating SQL Server Stored Procedures CDS Brownbag Series CDS

Creating SQL Server Stored Procedures CDS Brownbag Series CDS Creating SQL Server Stored Procedures Paul Litwin FHCRC Collaborative Data Services CDS Brownbag Series This is the 11th in a series of seminars Materials for the series can be downloaded from www.deeptraining.com/fhcrc

More information

User's Guide c-treeace SQL Explorer

User's Guide c-treeace SQL Explorer User's Guide c-treeace SQL Explorer Contents 1. c-treeace SQL Explorer... 4 1.1 Database Operations... 5 Add Existing Database... 6 Change Database... 7 Create User... 7 New Database... 8 Refresh... 8

More information

ensync: Your Certified Oracle Partner

ensync: Your Certified Oracle Partner ensync: Your Certified Oracle Partner Oracle PL/SQL Programming for IFS Applications Course Syllabus Course Purpose This course will give application developers and report writers the skills to create

More information

Lab # 4 Hands-On. DDL and DML Advance SQL Statements Institute of Computer Science, University of Tartu, Estonia

Lab # 4 Hands-On. DDL and DML Advance SQL Statements Institute of Computer Science, University of Tartu, Estonia Lab # 4 Hands-On DDL and DML Advance SQL Statements Institute of Computer Science, University of Tartu, Estonia Advance Part A: Demo by Instructor in Lab a. AND/OR - Operators are used to filter records

More information

This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

This presentation is for informational purposes only and may not be incorporated into a contract or agreement. This presentation is for informational purposes only and may not be incorporated into a contract or agreement. The following is intended to outline our general product direction. It is intended for information

More information

DB2 UDB: App Programming - Advanced

DB2 UDB: App Programming - Advanced A Access Methods... 8:6 Access Path Selection... 8:6 Access Paths... 5:22 ACQUIRE(ALLOCATE) / RELEASE(DEALLOCATE)... 5:14 ACQUIRE(USE) / RELEASE(DEALLOCATE)... 5:14 Active Log... 9:3 Active Logs - Determining

More information

Getting Started with SQL

Getting Started with SQL Getting Started with SQL TAMÁS BUDAVÁRI AUGUST 2016 Databases are easy: they consist of tables, which in turn have columns just like the files with which you are probably used to working. The difference

More information

tablename ORDER BY column ASC tablename ORDER BY column DESC sortingorder, } The WHERE and ORDER BY clauses can be combined in one

tablename ORDER BY column ASC tablename ORDER BY column DESC sortingorder, } The WHERE and ORDER BY clauses can be combined in one } The result of a query can be sorted in ascending or descending order using the optional ORDER BY clause. The simplest form of an ORDER BY clause is SELECT columnname1, columnname2, FROM tablename ORDER

More information

SQL: Part III. Announcements. Constraints. CPS 216 Advanced Database Systems

SQL: Part III. Announcements. Constraints. CPS 216 Advanced Database Systems SQL: Part III CPS 216 Advanced Database Systems Announcements 2 Reminder: Homework #1 due in 12 days Reminder: reading assignment posted on Web Reminder: recitation session this Friday (January 31) on

More information

ASSIGNMENT NO Computer System with Open Source Operating System. 2. Mysql

ASSIGNMENT NO Computer System with Open Source Operating System. 2. Mysql ASSIGNMENT NO. 3 Title: Design at least 10 SQL queries for suitable database application using SQL DML statements: Insert, Select, Update, Delete with operators, functions, and set operator. Requirements:

More information

5. Single-row function

5. Single-row function 1. 2. Introduction Oracle 11g Oracle 11g Application Server Oracle database Relational and Object Relational Database Management system Oracle internet platform System Development Life cycle 3. Writing

More information

20461: Querying Microsoft SQL Server 2014 Databases

20461: Querying Microsoft SQL Server 2014 Databases Course Outline 20461: Querying Microsoft SQL Server 2014 Databases Module 1: Introduction to Microsoft SQL Server 2014 This module introduces the SQL Server platform and major tools. It discusses editions,

More information

Chapter 4. Basic SQL. Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Chapter 4. Basic SQL. Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 4 Basic SQL Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 4 Outline SQL Data Definition and Data Types Specifying Constraints in SQL Basic Retrieval Queries

More information

Lesson 13 Transcript: User-Defined Functions

Lesson 13 Transcript: User-Defined Functions Lesson 13 Transcript: User-Defined Functions Slide 1: Cover Welcome to Lesson 13 of DB2 ON CAMPUS LECTURE SERIES. Today, we are going to talk about User-defined Functions. My name is Raul Chong, and I'm

More information

The SQL Procedure Language (SQL PL)

The SQL Procedure Language (SQL PL) The SQL Procedure Language (SQL PL) Tony Andrews Themis Education tandrews@themisinc.com www.themisinc.com Coding a SQL PL Procedure An SQL procedure consists of: CREATE PROCEDURE header BEGIN statement

More information

Data Analysis and Data Science

Data Analysis and Data Science Data Analysis and Data Science CPS352: Database Systems Simon Miner Gordon College Last Revised: 4/29/15 Agenda Check-in Online Analytical Processing Data Science Homework 8 Check-in Online Analytical

More information

Teradata Certified Professional Program Teradata V2R5 Certification Guide

Teradata Certified Professional Program Teradata V2R5 Certification Guide Professional Program Teradata Certification Guide The Professional Program team welcomes you to the Teradata Certification Guide. The guide provides comprehensive information about Teradata certification

More information

SQL Server Code Name Denali -2012

SQL Server Code Name Denali -2012 SQL Server Code Name Denali -2012 Atdhe Buja, BA MCTS SQL Server 2008, MCITP Database Administrator 2008, OCA Oracle 11g Administration atdhe.buja@hotmail.com http://atdhebuja.wordpress.com/ The explosion

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