ODBC Unplugged: What’s New in the DataFlex Connectivity Kit for ODBC? John Kramel Senior Consultant Data Access Corporation.

Slides:



Advertisements
Similar presentations
The creation of "Yaolan.com" A Site for Pre-natal and Parenting Education in Chinese by James Caldwell DAE Interactive Marketing a Web Connection Company.
Advertisements

Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide Standardizing Application.
Fundamentals, Design, and Implementation, 9/e Chapter 12 ODBC, OLE DB, ADO, and ASP.
ODBC and JDBC Aggie Hoversten CSCI Fall 1999.
Fundamentals, Design, and Implementation, 9/e COS 346 DAY 22.
Interpret Application Specifications
Chapter 12 Database Connectivity with ASP.NET JavaScript, Third Edition.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
Building Ad-Hoc Reports using the SQL Server 2005 Reporting Services (SSRS) Report Builder (SQL307) Adrian Rupp Business Intelligence Solutions Specialist.
1 Client/Server Database Tutorial. SQL Server Connection through MS Access FACBUSAD1 SQL server MS Access MGD B106 Computer or your own PC Remote SQL.
The Client/Server Database Environment
Microsoft Access Ervin Ha.
Phil Brewster  One of the first steps – identify the proper data types  Decide how data (in columns) should be stored and used.
Introduction To Databases IDIA 618 Fall 2014 Bridget M. Blodgett.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
September 6, 2015 Connecting Client Applications to Informix Databases using IBM Informix Connect and ODBC James Edmiston Database Consultant Quest Information.
JDBC Java Database Connectivity. What is an RDBMS? Relational database management system. There are other kinds of DBMS. Access is a GUI on a JET RBDMS.
1 ODBC, OLE DB, ADO, and ASP. 2 Introduction  Because database applications today reside in a complicated environment, various standards have been developed.
ASP.NET Programming with C# and SQL Server First Edition
OPC Database.NET. OPC Systems.NET What is OPC Systems.NET? OPC Systems.NET is a suite of.NET and HTML5 products for SCADA, HMI, Data Historian, and live.
How to Configure Informix Connect and ODBC James Edmiston Informix DBA Consultant/Quest Information Systems, Inc. Informix User Forum 2005 Moving Forward.
4-1 INTERNET DATABASE CONNECTOR Colorado Technical University IT420 Tim Peterson.
ODBC : Open Database Connectivity SNU OOPSLA Lab. October 2005.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.
DATABASE PROGRAMMING Lecture on 16 – 05 – PREVIOUS LECTURE QUIZ: - Some students were very creative in transforming 2NF to 3NF. Excellent! - Some.
Data-mining & Data As we used Excel that has capability to analyze data to find important information, the data-mining helps us to extract information.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Simple Database.
DTS Conversion to SSIS Conversion Best Practices Mike Davis
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
File Processing Concepts – Field – combination of 1 or more characters that is the smallest unit of data to be accessed – Record – group of related fields.
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
1 Client/Server Databases and the Oracle Relational Database.
DataFlex Connectivity Kit for Pervasive.SQL Eddy Kleinjan.
Open Solutions for a Changing World™ Copyright 2005, Data Access Worldwide June 6-9, 2005 Key Biscayne, Florida 1 Pervasive.SQL Version 9 - What’s New.
The Big Product Picture Stephen W. Meeley Vice President Product Management.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
What is database?  Any Method for access info into Application from DataBase?  ODBC is standard for Accessing Data.  Problem with ODBC:  Information.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
DAY 14: MICROSOFT ACCESS – CHAPTER 1 Madhuri Siddula October 1, 2015.
1 Database & DBMS The data that goes into transaction processing systems (TPS), also goes to a database to be stored and processed later by decision support.
DATABASE CONNECTIVITY TO MYSQL. Introduction =>A real life application needs to manipulate data stored in a Database. =>A database is a collection of.
IBM DB2 Universal Database For DataFlex Released in April 1999.
File Server Architecture In File Server Architecture, file server can’t process the data but can only pass on the data to the client who can process it.
Open Solutions for a Changing World™ Copyright 2005, Data Access Worldwide June 6-9, 2005 Key Biscayne, Florida Table Types and Programming Styles John.
Database Connectivity with ASP.NET. 2 Introduction Web pages commonly used to: –Gather information stored on a Web server database Most server-side scripting.
ADO.NET Architecture MIS3502: Application Integration and Evaluation David Schuff Adapted from material by Arnold Kurtz, David.
Basics of JDBC Session 14.
ODBC : Open Database Connectivity SNU OOPSLA Lab. October 2005.
The business logic engine for Microsoft IIS Speaker T.M. Arnett.
Open Solutions for a Changing World™ Copyright 2005, Data Access Worldwide June 6-9, 2005 Key Biscayne, Florida 1 Techniques for using Visual DataFlex.
Introduction Because database applications today reside in a complicated environment, various standards have been developed for accessing database servers.
Integrating the Mainframe Liberating Enterprise Data.
ViaSQL Transfer. Viaserv, Inc. Transfer – 2 The ViaSQL Transfer n Available only with ViaSQL Integrator n Move data between OS/390 and a LAN database.
Explore engage elevate Data Migration Without Tears Mike Feingold Empoint Ltd Tuesday 10th November 2015.
Managing Data Resources File Organization and databases for business information systems.
Connectivity in DataFlex 19.0
آشنایی با نرم افزار Microsoft Access
The Client/Server Database Environment
Created by Kamila zhakupova
MS Access Database Connection
Server & Tools Business
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Chapter 10 ADO.
Best practices for packaging and distributing device drivers
Presentation transcript:

ODBC Unplugged: What’s New in the DataFlex Connectivity Kit for ODBC? John Kramel Senior Consultant Data Access Corporation

What is ODBC?  Microsoft Open DataBase Connectivity interface  A component of Microsoft’s Windows Open Services Architecture (WOSA)  Enables applications to access data from various DBMSs  Uses SQL as a standard

ODBC Supported DBMSs  AS/400 (SQL/400)  ASCII  DB2/2  dBase II, III, IV, FoxPro, Clipper  Microsoft Access  Faircom C-tree plus

ODBC Supported DBMSs  Informix  Oracle  Paradox  SQL Server (Microsoft)  Sybase  And More!

What is the DataFlex Connectivity Kit for ODBC?  Open Client/Server solution for DataFlex and Visual DataFlex  Converts DataFlex data files to target tables  Connects DataFlex to existing database tables

Flashback to 1996  1996 Conference ODBC Talk 1996 Conference ODBC Talk  ODBC Kit still represents great business opportunities for DataFlex developers  At the 1996 and 1997 conferences, the OBCD driver was still in beta  Revision 1.1, along with all the other products shown at this conference, is delivering now

DataFlex Runtime (Client) ODBC API ODBC Driver ODBC Client Driver Direct Driver Target (Server) Database

All Pieces Must Be Correctly Connected

DataFlex Direct Driver Architecture DataFlex Runtime with API DataFlex Program ODBC Client Driver ODBC API ODBC DRIVERTarget Database Client Piece Transport Transport Target Database Server Piece Target Database

Set Up a DSN First  This is the way that ODBC knows about the target database  Use the ODBC Administator  Accessible from DbBuilder when the DataFlex Connectivity Kit for ODBC is loaded  Also from the Control Panel:

The Intermediate File  Created automatically by VDFFile or DbBuilder  Data table specific  Driver name  Field information  Index information

Flashback to 1997  1997 Conference ODBC Talk 1997 Conference ODBC Talk  With revision 1.1 of the driver, the tasks of connecting to an existing database has become much easier (easier to look at, too!)  The Intermediate File is created automatically

DRIVER_NAME ODBC_DRV SERVER_NAME DSN=MS Access 97 Database DATABASE_NAME ADDRESS PRIMARY_INDEX 1 FIELD_NUMBER 2 FIELD_RELATED_FILE 3 FIELD_RELATED_FIELD 1 INDEX_NUMBER 1 INDEX_NUMBER_SEGMENTS 1 INDEX_SEGMENT_FIELD 1 INDEX_NUMBER 2 INDEX_NUMBER_SEGMENTS 2 INDEX_SEGMENT_FIELD 2 INDEX_SEGMENT_FIELD 1

Differences of Non-DataFlex DBMS’s  May not be able to close & re-open  May not be able to compress files  File Integrity Check?  May not have case-insensitive indexes  May not have batch indexes

You Cannot Count On...  Consistent database limitations  Consistent indexing limitations  Consistent naming conventions  Maximum records specification

“Recnum”  Must assign a unique identifier  May be automatically maintained by database or manually by all programs used for access  If maintained by database, may not be able to be accessed within transaction

“Recnum”  Must be Numeric (This may change)  Must be only segment in an index  Don’t think it’ll be faster than other indexes  DbBuilder can automatically create “DFRecnum” field when converting!

Date / Time Fields  Time stored with date in field  Can’t be handled elegantly by DataFlex  Limited support added  Use Intermediate File keyword FIELD_STORE_TIME to set the time portion  Set to either server system time, client system time, or constant value

Things to Watch Out For  Reserved Words can prevent conversion or pose difficulty later on  E.g.:  ORDER  PRIMARY  TABLE

Things to Watch Out For  Target database and/or driver may or may not have limitations on “blobs” or index segment rules  May have to reorganize data structure, e.g., breaking Text or Binary fields out to separate tables  Also, remember that DataFlex r/t limit is 15K

Things to Watch Out For  These kinds of issues will occur with each DBMS encountered  Data Access cannot provide you with all the compatabilities issues for all the databases  Know your target DBMS

Getting Started  When you buy the VDF Professional Bundle, you have everything you need:  VDF tools and runtime  DataFlex Connectivity Kit for ODBC (unlimited deployment)  Plus DB2 and Pervasive.SQL developer servers, drivers, FlexOLE, WinQL and more

Getting Started - Character Mode  DataFlex 3.1d Console Mode  Suggestion: Buy VDF, too!  You get the Pervasive and DB2 kits  You get a head start on VDF as well  You can mix and match your application  Character Mode  Visual  Web

Welcome to the World of Open Client/Server Development!