Connecting to Your Database

Total Page:16

File Type:pdf, Size:1020Kb

Connecting to Your Database Connecting to Your Database Appeon InfoMaker® 2019 FOR WINDOWS DOCUMENT ID: DC37791-01-1900-01 LAST REVISED: June 03, 2019 Copyright © 2019 Appeon. All rights reserved. This publication pertains to Appeon software and to any subsequent release until otherwise indicated in new editions or technical notes. Information in this document is subject to change without notice. The software described herein is furnished under a license agreement, and it may be used or copied only in accordance with the terms of that agreement. Upgrades are provided only at regularly scheduled software release dates. No part of this publication may be reproduced, transmitted, or translated in any form or by any means, electronic, mechanical, manual, optical, or otherwise, without the prior written permission of Appeon Inc. Appeon and other Appeon products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Appeon Inc. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP and SAP affiliate company. Java and all Java-based marks are trademarks or registered trademarks of Oracle and/or its affiliates in the U.S. and other countries. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. All other company and product names mentioned may be trademarks of the respective companies with which they are associated. Use, duplication, or disclosure by the government is subject to the restrictions set forth in subparagraph (c)(1)(ii) of DFARS 52.227-7013 for the DOD and as set forth in FAR 52.227-19(a)-(d) for civilian agencies. Appeon Inc., 1/F, Shell Industrial Building, 12 Lee Chung Street, Chai Wan District, Hong Kong Contents I Introduction to Database Connections .................................................................... 1 1 Understanding Data Connections ................................................................... 2 1.1 How to find the information you need .................................................. 2 1.2 Accessing data in InfoMaker ................................................................ 3 1.3 Accessing the Demo Database ............................................................ 4 1.4 Using database profiles ........................................................................ 4 1.4.1 About creating database profiles ................................................ 5 1.4.2 Creating a database profile ........................................................ 8 1.5 What to do next .................................................................................... 9 II Working with Standard Database Interfaces ....................................................... 10 2 Using the ODBC Interface ............................................................................ 11 2.1 Using the ODBC interface .................................................................. 11 2.1.1 What is ODBC? ........................................................................ 11 2.1.2 Using ODBC in InfoMaker ........................................................ 12 2.1.3 Components of an ODBC connection ...................................... 12 2.1.4 Types of ODBC drivers ............................................................ 14 2.1.5 Ensuring the proper ODBC driver conformance levels ............. 16 2.1.5.1 What are ODBC conformance levels? ........................... 16 2.1.6 Obtaining ODBC drivers ........................................................... 18 2.1.7 Getting help with ODBC drivers ............................................... 18 2.2 Preparing ODBC data sources ........................................................... 18 2.3 Defining ODBC data sources ............................................................. 19 2.3.1 How InfoMaker accesses the data source ............................... 19 2.3.1.1 PBODB190 initialization file ............................................ 19 2.3.1.2 ODBCINST registry entries ............................................ 20 2.3.1.3 ODBC registry entries .................................................... 20 2.3.1.4 Database profiles registry entry ...................................... 21 2.3.2 Defining multiple data sources for the same data .................... 22 2.3.3 Displaying Help for ODBC drivers ............................................ 22 2.3.3.1 Help for any ODBC driver .............................................. 22 2.3.4 Selecting an ODBC translator .................................................. 23 2.4 Defining the ODBC interface .............................................................. 23 2.5 SAP SQL Anywhere ........................................................................... 23 2.5.1 Supported versions for SQL Anywhere .................................... 24 2.5.2 Basic software components for SQL Anywhere ....................... 24 2.5.3 Preparing to use the SQL Anywhere data source .................... 25 2.5.4 Defining the SQL Anywhere data source ................................. 26 2.5.5 Support for Transact-SQL special timestamp columns ............. 28 2.5.6 What to do next ........................................................................ 29 2.6 PostgreSQL ........................................................................................ 29 3 Using the JDBC Interface ............................................................................. 31 3.1 About the JDBC interface ................................................................... 31 3.1.1 What is JDBC? ......................................................................... 31 3.1.2 Components of a JDBC connection ......................................... 32 3.1.3 JDBC registry entries ............................................................... 33 3.1.4 Supported versions for JDBC ................................................... 34 3.1.5 Supported JDBC datatypes ...................................................... 34 3.2 Preparing to use the JDBC interface .................................................. 34 3.3 Defining the JDBC interface ............................................................... 35 4 Using the OLE DB interface ......................................................................... 37 4.1 About the OLE DB interface ............................................................... 37 4.1.1 What is OLE DB? ..................................................................... 37 4.1.2 Components of an OLE DB connection ................................... 39 4.1.3 Obtaining OLE DB data providers ............................................ 40 4.1.4 Supported versions for OLE DB ............................................... 40 4.2 Preparing to use the OLE DB interface .............................................. 41 4.3 Defining the OLE DB interface ........................................................... 42 5 Using the ADO.NET interface ...................................................................... 44 5.1 About ADO.NET ................................................................................. 44 5.2 About the InfoMaker ADO.NET database interface ............................ 45 5.2.1 Components of an ADO.NET connection ................................. 45 5.2.2 OLE DB data providers ............................................................ 46 5.3 Preparing to use the ADO.NET interface ........................................... 47 5.4 Defining the ADO.NET interface ........................................................ 48 III Working with Native Database Interfaces ........................................................... 50 6 Using Native Database Interfaces ................................................................ 51 6.1 About native database interfaces ....................................................... 51 6.1.1 What is a native database interface? ....................................... 51 6.1.2 Components of a database interface connection ..................... 51 6.1.3 Using a native database interface ............................................ 52 6.2 Informix ............................................................................................... 53 6.2.1 Supported versions for Informix ............................................... 53 6.2.2 Supported Informix datatypes ................................................... 54 6.2.2.1 Informix DateTime datatype ........................................... 54 6.2.2.2 Informix Time datatype ................................................... 55 6.2.2.3 Informix Interval datatype ............................................... 55 6.2.3 Basic software components for Informix .................................. 55 6.2.4 Preparing to use the Informix database ................................... 56 6.2.5 Defining the Informix database interface .................................. 57 6.2.5.1 Specifying the server name ............................................ 58 6.2.6 What to do next ........................................................................ 58 6.3 Microsoft SQL Server ......................................................................... 58 6.3.1 Supported versions for SQL Server ......................................... 58 6.3.2 Supported SQL Server datatypes ............................................ 59 6.3.3 Basic software components for Microsoft SQL Server ............. 59 6.3.4 Preparing to use the SQL Server database ............................
Recommended publications
  • A Definition of Database Design Standards for Human Rights Agencies
    A Definition of Database Design Standards for Human Rights Agencies by Patrick Ball, et al. AMERICAN ASSOCIATION FOR THE ADVANCEMENT OF SCIENCE 1994 TABLE OF CONTENTS Introduction Definition of an Entity Entity versus Role versus Link What is a Link? Presentation of a Data Model Rule-types with Rule Examples and Instance Examples . 6.1 Type of Rule: Act . 6.2 Type of Rule: Relationship . 6.3 Rule-type Name: Biography Rule Parsimony: the Trade between Precision and Simplicity xBase Table Design Implementation Example . 8.1 xBase Implementation Example . 8.2 Abstract Fields & Data Types SQL Database Design Implementation Example . 9.1 Querying & Performance . 9.2 Main Difference . 9.3 Storage of the Rules in SQL Model 1. Introduction In 1993, HURIDOCS published their Standard Human Rights Event Formats (Dueck et al. 1993a) which describe standards for the collection and exchange of information on human rights abuses. These formats represent a major step forward in enabling human rights organizations to develop manual and computerized systems for collecting and exchanging data. The formats define common fields for collection of human rights event, victim, source, perpetrator and agency intervention data, and a common vocabulary for many of the fields in the formats, for example occupation, type of event and geographical location. The formats are designed as a tool leading toward both manual and computerized systems of human rights violation documentation. Before organizations implement documentation systems which will meet their needs, a wide range of issues must be considered. One of these problems is the structural problems of some data having complex relations to other data.
    [Show full text]
  • Xbase++ Language Concepts for Newbies Geek Gatherings Roger Donnay
    Xbase++ Language Concepts for Newbies Geek Gatherings Roger Donnay Introduction Xbase++ has extended the capabilities of the language beyond what is available in FoxPro and Clipper. For FoxPro developers and Clipper developers who are new to Xbase++, there are new variable types and language concepts that can enhance the programmer's ability to create more powerful and more supportable applications. The flexibility of the Xbase++ language is what makes it possible to create libraries of functions that can be used dynamically across multiple applications. The preprocessor, code blocks, ragged arrays and objects combine to give the programmer the ability to create their own language of commands and functions and all the advantages of a 4th generation language. This session will also show how these language concepts can be employed to create 3rd party add-on products to Xbase++ that will integrate seamlessly into Xbase++ applications. The Xbase++ language in incredibly robust and it could take years to understand most of its capabilities, however when migrating Clipper and FoxPro applications, it is not necessary to know all of this. I have aided many Clipper and FoxPro developers with the migration process over the years and I have found that only a basic introduction to the following concepts are necessary to get off to a great start: * The Xbase++ Project. Creation of EXEs and DLLs. * The compiler, linker and project builder . * Console mode for quick migration of Clipper and Fox 2.6 apps. * INIT and EXIT procedures, DBESYS, APPSYS and MAIN. * The DBE (Database engine) * LOCALS, STATICS, PRIVATE and PUBLIC variables. * STATIC functions.
    [Show full text]
  • Course Description
    6/20/2018 Syllabus Syllabus This is a single, concatenated file, suitable for printing or saving as a PDF for offline viewing. Please note that some animations or images may not work. Course Description This module is also available as a concatenated page, suitable for printing or saving as a PDF for offline viewing. MET CS669 Database Design and Implementation for Business This course uses the latest database tools and techniques for persistent data and object-modeling and management. Students gain extensive hands-on experience with exercises and a term project using Oracle, SQL Server, and other leading database management systems. Students learn to model persistent data using the standard Entity-Relationship model (ERM) and how to diagram those models using Entity-Relationship Diagrams (ERDs), Extended Entity-Relationship Diagrams (EERDs), and UML diagrams. Students learn the standards-based Structured Query Language (SQL) and the extensions to the SQL standards implemented in Oracle and SQL Server. Students learn the basics of database programming, and write simple stored procedures and triggers. The Role of this Course in the MSCIS Online Curriculum This is a core course in the MSCIS online curriculum. It provides students with an understanding and experience with database technology, database design, SQL, and the roles of databases in enterprises. This course is a prerequisite for the three additional database courses in the MSCIS online curriculum, which are CS674 Database Security, CS699 Data Mining and Business Intelligence and CS779 Advanced Database Management. By taking these three courses you can obtain the Concentration in Database Management and Business Intelligence. CS674 Database Security also satisfies an elective requirement for the Concentration in Security.
    [Show full text]
  • Xbase PDF Class
    Xbase++ PDF Class User guide 2020 Created by Softsupply Informatica Rua Alagoas, 48 01242-000 São Paulo, SP Brazil Tel (5511) 3159-1997 Email : [email protected] Contact : Edgar Borger Table of Contents Overview ....................................................................................................................................................4 Installing ...............................................................................................................................................5 Changes ...............................................................................................................................................6 Acknowledgements ............................................................................................................................10 Demo ..................................................................................................................................................11 GraDemo ............................................................................................................................................13 Charts .................................................................................................................................................15 Notes ..................................................................................................................................................16 Class Methods .........................................................................................................................................17
    [Show full text]
  • Design and Development of a Thermodynamic Properties Database Using the Relational Data Model
    DESIGN AND DEVELOPMENT OF A THERMODYNAMIC PROPERTIES DATABASE USING THE RELATIONAL DATA MODEL By PARIKSHIT SANGHAVI Bachelor ofEngineering Birla Institute ofTechnology and Science, Pilani, India 1992 Submitted to the Faculty ofthe Graduate College ofthe Oklahoma State University in partial fulfillment of the requirements for the Degree of MASTER OF SCIENCE December, 1995 DESIGN AND DEVELOPMENT OF A THERMODYNAMIC PROPERTIES DATABASE USING THE RELATIONAL DATA MODEL Thesis Approved: ~ (}.J -IJ trT,J T~ K t 4J~ _ K1t'Il1·B~~ Dean ofthe Graduate College ii ACKNOWLEDGMENTS I would like to thank my adviser Dr. Jan Wagner, for his expert guidance and criticism towards the design and implementation ofthe GPA Database. I would like to express my appreciation to Dr. Martin S. High, for his encouragement and support on the GPA Database project. I am grateful to Dr. Khaled Gasem, for helping me gain a better understanding of the aspects pertaining to thermodynamics in.the GPA Database project. I would also like to thank Dr. James R. Whiteley for taking the time to provide constructive criticism for this thesis as a member ofmy thesis committee. I would like to thank the Enthalpy and Phase Equilibria Steering Committees of the Gas Processors Association for their support. The GPA Database project would not have been possible without their confidence in the faculty and graduate research assistants at Oklahoma State University. I wish to acknowledge Abhishek Rastogi, Heather Collins, C. S. Krishnan, Srikant, Nhi Lu, and Eric Maase for working with me on the GPA Database. I am grateful for the emotional support provided by my family.
    [Show full text]
  • R&R Report Writer Version 9.0, Xbase & SQL Editions New Release
    R&R Report Writer Version 9.0, xBase & SQL Editions New Release Enhancements and New Capabilities Liveware Publishing is pleased to announce an exciting set of enhancements to R&R Report Writer!! This is the first MAJOR update to R&R in almost five years, but Liveware has made up for lost time with substantial improvements for every R&R user. Developers building reports for their applications, end-users creating their own ad-hoc and production reports, and even casual R&R runtime users will all find something in this release to streamline their reporting activities. For those who have purchased and implemented every update, and particularly Liveware’s Version 8.1 release licensees, you will be rewarded for your loyalty with a reduced upgrade price and a wide range of capabilities that will make R&R even more indispensable. For others who waited, this is the upgrade to buy since it contains so many unique and compelling ideas about reporting -- and ones you can use right away!! Version 9.0 includes 5 new “modules” -- what we consider significant extensions of R&R capabilities -- and many convenience and usability improvements to open reporting to database users at all levels. The 5 new modules are (with page number in parenthesis): Email Report Bursting & Distribution (2) Report Librariantm (4) ParameteRRtm Field Prompting (9) FlexLinktm Indexing-on-the-fly (11) Rapid Runnertm Runtime Control (16) Among the other improvements, the most significant are: Pervasive Band Color-coding (18) Page X of Y Functions (20) Redesigned Table Join Dialog (21) Print Preview Band Identification (23) Drill-down in Result Set Browser (24) Visual dBase 7 Support (25) This document will summarize each of these modules and improvements and describe how they expand R&R’s capabilities to an ever-wider range of reporting needs.
    [Show full text]
  • SQL Anywhere® Server Programming
    SQL Anywhere® Server Programming June 2008 Version 11.0.0 Copyright and trademarks Copyright © 2008 iAnywhere Solutions, Inc. Portions copyright © 2008 Sybase, Inc. All rights reserved. This documentation is provided AS IS, without warranty or liability of any kind (unless provided by a separate written agreement between you and iAnywhere). You may use, print, reproduce, and distribute this documentation (in whole or in part) subject to the following conditions: 1) you must retain this and all other proprietary notices, on all copies of the documentation or portions thereof, 2) you may not modify the documentation, 3) you may not do anything to indicate that you or anyone other than iAnywhere is the author or source of the documentation. iAnywhere®, Sybase®, and the marks listed at http://www.sybase.com/detail?id=1011207 are trademarks of Sybase, Inc. or its subsidiaries. ® indicates registration in the United States of America. All other company and product names mentioned may be trademarks of the respective companies with which they are associated. Contents About this book ........................................................................................... ix About the SQL Anywhere documentation ................................................................ x I. Introduction to Programming with SQL Anywhere ................................ 1 1. SQL Anywhere data access programming interfaces ......................................... 3 SQL Anywhere .NET API ......................................................................................
    [Show full text]
  • Oracle Utilities Operational Device Management Database Administrator Guide Release 2.1.1 Service Pack 1 E69489-04
    Oracle Utilities Operational Device Management Database Administrator Guide Release 2.1.1 Service Pack 1 E69489-04 November 2016 Oracle Utilities Operational Device Management Database Administrator Guide for Release 2.1.1 Service Pack 1 Copyright © 2000, 2016 Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency- specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
    [Show full text]
  • SQL Anywhere Introduction Company
    PUBLIC SQL Anywhere Document Version: 17 – 2020-12-11 SQL Anywhere Introduction company. All rights reserved. All rights company. affiliate THE BEST RUN 2020 SAP SE or an SAP SE or an SAP SAP 2020 © Content 1 SQL Anywhere - Introduction...................................................3 1.1 SQL Anywhere 17 Outside the Data Center...........................................5 1.2 Database Scenarios...........................................................6 Desktop Applications and Embedded Databases.................................... 6 Client/Server Applications....................................................7 Web Applications...........................................................8 Remote Data Synchronization..................................................8 1.3 Editions and Licensing......................................................... 9 1.4 Separately Licensed Components.................................................9 1.5 Supported Platforms..........................................................10 1.6 Accessibility................................................................11 1.7 Data Management Technologies..................................................16 SQL Anywhere and UltraLite Target Platforms......................................17 Multi-Tier Computing Architecture..............................................18 ETL Features.............................................................18 1.8 Overview of Data Exchange Technologies............................................19 Challenges for Synchronization
    [Show full text]
  • SQL Anywhere: an Embeddable DBMS
    SQL Anywhere: An Embeddable DBMS Ivan T. Bowman Peter Bumbulis Dan Farrar Anil K. Goel Brendan Lucier Anisoara Nica G. N. Paulley John Smirnios Matthew Young-Lai Sybase iAnywhere Abstract We present an overview of the embeddability features of SQL Anywhere, a full-function relational data- base system designed for frontline business environments with minimal administration. SQL Anywhere supports features common to enterprise-class database management systems, such as intra-query par- allelism, materialized views, OLAP functionality, stored procedures, triggers, and hot failover. SQL Anywhere can serve as a high-performance workgroup server, an embedded database that is installed along with an application, or as a mobile database installed on a handheld device that provides full database services, including two-way synchronization, to applications when the device is disconnected from the corporate intranet. We illustrate how SQL Anywhere’s embeddability features work in concert to provide a robust data management solution in zero-administration environments. 1 Introduction Database systems have become ubiquitous across the computing landscape. This is partly because of the basic facilities offered by database management systems: physical data independence, ACID transaction properties, a high-level query language, stored procedures, and triggers. These facilities permits sophisticated applications to ‘push’ much of their complexity into the database itself. The proliferation of database systems in the mobile and embedded market segments is due, in addition to the features above, to the support for two-way database replication and synchronization offered by most commercial database management systems. Data synchroniza- tion technology makes it possible for remote users to both access and update corporate data at a remote, off-site location.
    [Show full text]
  • Oracle Database Concepts, 11G Release 2 (11.2) E40540-04
    Oracle®[1] Database Concepts 11g Release 2 (11.2) E40540-04 May 2015 Oracle Database Concepts, 11g Release 2 (11.2) E40540-04 Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Primary Authors: Lance Ashdown, Tom Kyte Contributors: Drew Adams, David Austin, Vladimir Barriere, Hermann Baer, David Brower, Jonathan Creighton, Bjørn Engsig, Steve Fogel, Bill Habeck, Bill Hodak, Yong Hu, Pat Huey, Vikram Kapoor, Feroz Khan, Jonathan Klein, Sachin Kulkarni, Paul Lane, Adam Lee, Yunrui Li, Bryn Llewellyn, Rich Long, Barb Lundhild, Neil Macnaughton, Vineet Marwah, Mughees Minhas, Sheila Moore, Valarie Moore, Gopal Mulagund, Paul Needham, Gregory Pongracz, John Russell, Vivian Schupmann, Shrikanth Shankar, Cathy Shea, Susan Shepard, Jim Stenoish, Juan Tellez, Lawrence To, Randy Urbano, Badhri Varanasi, Simon Watt, Steve Wertheimer, Daniel Wong This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S.
    [Show full text]
  • Mac Os X Database Application
    Mac Os X Database Application Splashy Moses always degum his Politburo if Barr is unprovident or unswathing but. Corny Ashton enervating hinderingly or evite ergo when Weylin is faceless. Butcherly Maurits sometimes cognizes his alodiums hard and rebelled so submissively! New platform for the next section names of your data source you to It tedious really disappointing the heir that amount has been zero progress with this issue, could this time. Also many question are using databases on their Macs such as. Expert users may configure the ODBC. This application that you. Check the app from zero progress with a tabbed format of applications that this, transforming raw data! DBeaver Community Free Universal Database Tool. Provide the administrator username and password. You exhibit even export your bay as an html-table and print labels. Understanding at precious glance. Best Database Management Software for Mac 2021 Reviews. What does Texas gain for not selling electricity across state lines and therefore avoiding Federal Power and oversight? Take this open snaptube will get into chartable form at first mac os x application functioning of your experience with live without using app. Transform all kinds of files into optimized for various displays PDFs with water motion. However, four of the defining features of this crime is it it comes with native TLS encryption to ensure that important business success never gets into these wrong hands. Get stomp to legal one million creative assets on Envato Elements. Fuzzee allows to mac os application has been easier for free file to the appropriate odbc data synchronization tool.
    [Show full text]