1 ©1985-2003 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 Using SQL.

Slides:



Advertisements
Similar presentations
PHP I.
Advertisements

Product Guides Building and/or using a calculator for a single product “up sale” is relatively easy. But for companies like yours, with a number of strategic.
Enterprise Software for Indirect Taxes Built on CORALerp platform.
IT Project Management, Third Edition Appendix A1 Appendix A: Guide to Using Microsoft Project 2002.
LBI for Dummies The basics to get you started.
Distributed Application Development B. Ramamurthy.
1 Lecture 29 More on JDBC Overview  Objectives of this lecture  JDBC and its Drivers  Connecting to Databases (Java’s Connection class)  Querying a.
1 Foundations of Software Design Lecture 27: Java Database Programming Marti Hearst Fall 2002.
SOUL INSTALLATION Step-1 For this Please Install the Version 7.0 or SQL Server 2000 or onwards.
Created By: Jeremy Callan Descore Inc ext. 5405
Overview of Database Access in.Net Josh Bowen CIS 764-FS2008.
Tutorial SQL Server and Matlab CIS 526. Build a New Database in SQL server.
Advanced OOP MCS-3 OOP BSCS-3 Lecture # 11. DATABASE CONNECTIVITY IN JAVA JDBC Programming JDBC (Java Database Connectivity) is the specification of a.
GLOWEBSTORE GLODASH – General Buying Guide. Packaging Dashboards GLODASH – Explaining Packs Each Pack consists of list of Dashboards Each Dashboard has.
Module 2: Using Transact-SQL Querying Tools. Overview SQL Query Analyzer Using the Object Browser Tool in SQL Query Analyzer Using Templates in SQL Query.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 13 Managing Databases with SQL Server 2000.
SQL Server to MySQL Database Migration SQLWays - Migration Software Presentation March 2009 Copyright (c) Ispirer Systems Ltd.
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
Advanced Database Management System Lab no. 11. SQL Commands (for MySQL) –Update –Replace –Delete.
Chapter 7 PHP Interacts with Ms. Access (Open DataBase Connectivity (ODBC))
SQL HW1 Turn in as a hardcopy at the start of next class period. You may work this assignment in groups.
Best Practices for Implementing Unicenter Asset Portfolio Management r11.2 in an HA MSCS Environment - Part 2 – Unicenter Asset Management Portfolio Draft.
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
Views, Indexes and JDBC/JSP tutorial Professor: Dr. Shu-Ching Chen TA: Haiman Tian 1.
Zortec Data Replication. What you get with Zortec Data Replication: Complete access to your Zortec Application data in a Open Data Base format.
CSE 305 Theory of Database Tutorial on Connecting with Sybase from Java program and Developing GUI Jalal Mahmud, TA, CSE 305.
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.
Part 1. Persistent Data Web applications remember your setting by means of a database linked to the site.
© All rights reserved. U.S International Tech Support
ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 11 Committed to Shaping the Next Generation of IT Experts. Chapter 10 Customizing a Database.
Designing and Developing WS B. Ramamurthy. Plans We will examine the resources available for development of JAX-WS based web services. We need an IDE,
22/10/ June Changes I have seen. What I like about SIR/XS.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals SELECT … FROM.
Copyright © 2010 Certification Partners, LLC -- All Rights Reserved Perl Specialist.
Index and JDBC/JSP tutorial Professor: Dr. Shu-Ching Chen TA: Hsin-Yu Ha.
JDBC Enterprise Systems Programming. JDBC  Java Database Connectivity  Database Access Interface provides access to a relational database (by allowing.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Adding Parameters to Commands ADO.NET - Lesson 06  Training time: 15 minutes.
© All rights reserved. U.S International Tech Support
JDBC CS 124. JDBC Java Database Connectivity Database Access Interface provides access to a relational database (by allowing SQL statements to be sent.
Type presentation name here in slide master © 2007 SDL. Company Confidential. Forward-looking information is based upon multiple assumptions and uncertainties.
PowerBuilder Online Courses - by Prasad Bodepudi Database Painter Primary & Foreign Keys Extended Attributes PowerBuilder System Tables Database Profiles.
© BASIS International Ltd. All rights reserved. U.S. Sales: Worldwide Sales:
© BASIS International Ltd. All rights reserved. U.S. Sales: Worldwide Sales:
Copyright © 2003 ProsoftTraining. All rights reserved. Perl Fundamentals.
JDBC CS 260 Database Systems. Overview  Introduction  JDBC driver types  Eclipse project setup  Programming with JDBC  Prepared statements  SQL.
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 6 CGI/Perl and databases.
Working With Database Library And Helpers. Connecting to your Database First you need to set parameters in you database.php file residing in config folder.
ITUG Conference October 24 thru 26, 2005 Presented by.
SQL Server Microsoft SQL Server 6.5 (startup menu) We’ll use two facilities –Enterprise Manager: to build your db –ISQL_w: to run queries Use this for.
Game Programming Step-08 Learn to Load models *.x file into the game.
Eurostat May 2016 Eurostat, Unit B3 – IT solutions for statistical production Test Client Jean-Francois LEBLANC Christian SEBASTIAN.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Fundamental of Databases
Databases.
, MS-Access, QBE, Access/Oracle
Current outstanding balance
For installing Quicken Deluxe 2017, you need to follow some steps with precision. To start installing Quicken Tech Support, you should click on setup file.
07 | Analyzing Big Data with Excel
MS Access Database Connection
What I like about SIR/XS.
1 From a client restaurant a representative will pick up a signed order sheet from the restaurant manager for the quantities desired of each item sold.
ERA Table of Activities
1 From a client restaurant a representative will pick up a signed order sheet from the restaurant manager for the quantities desired of each item sold.
1 From a client restaurant a representative will pick up a signed order sheet from the restaurant manager for the quantities desired of each item sold.
2016 Resource - Z Data Replication
Introducing DAX July 11th, 2015.
1 From a client restaurant a representative will pick up a signed order sheet from the restaurant manager for the quantities desired of each item sold.
ERA Table of Activities
5/8/2019 3:20 AM bQuery-Tool 3.0 A new and elegant way to create queries and ad-hoc reports on your Baan/Infor ERP LN data. This Baan session is a query.
Presentation transcript:

1 © BASIS International Ltd. All rights reserved. Sales: Tech Support: Using SQL in BASIS This demonstration will use SQL functions to access data from a BASIS file and a similar ACCESS data file.

2 © BASIS International Ltd. All rights reserved. Sales: Tech Support: Using SQL in BASIS First, we must set up the ODBC access to the files. This is the ODBC Manager screen for the BASIS demonstration file.

3 © BASIS International Ltd. All rights reserved. Sales: Tech Support: Using SQL in BASIS This is a similar setup for the ACCESS database.

4 © BASIS International Ltd. All rights reserved. Sales: Tech Support: Using SQL in BASIS There is a ACCESS version of the Chile Company Customer file located below: \basisdemo\vpro5\tools\chiledd\data

5 © BASIS International Ltd. All rights reserved. Sales: Tech Support: Using SQL in BASIS Use the sqlopen verb to open the respective databases. The sqllist(0) command will render a list of databases available through ODBC in this case.

6 © BASIS International Ltd. All rights reserved. Sales: Tech Support: Using SQL in BASIS Once an ODBC database has been opened, the SQL query can be built and assigned using the SQLPREP verb. Below is an example; SQLPREP(1)"select * from CUSTOMER where CURRENT_BAL>0" For the purposes of this example, we’ll use that syntax. Feel free to experiment!

7 © BASIS International Ltd. All rights reserved. Sales: Tech Support: Using SQL in BASIS Dimension a string to capture the data and execute the SQL statement with the SQLEXEC verb. Place the data into the string variable CUST$ with the SQLFETCH command.

8 © BASIS International Ltd. All rights reserved. Sales: Tech Support: Using SQL in BASIS Notice the results of the two identical queries from the two identical databases. The only discrepancies are in the field-level formatting, but the values are the same.

9 © BASIS International Ltd. All rights reserved. Sales: Tech Support: Using SQL in BBj – JDBC In order to do the same thing using the JDBC driver, do the following: Make sure you have a reference to the sql.ini file in the config file you are launching BBj with. In the config: SQL=C:\Program Files\basis\cfg\sql.ini Make sure that the sql.ini is fully qualified for file access. In the sql.ini: [BASIS Data Sources] ChileCompanyJDBC [ChileCompanyJDBC] url=jdbc:basis:localhost?database=ChileCompany&user=guest **Where the database is called “ChileCompany” in the Enterprise Manager and the account “guest” has access.

10 © BASIS International Ltd. All rights reserved. Sales: Tech Support: Using SQL in BBj – JDBC Notice that the file access is the same using JDBC as it is with ODBC.