933 formations: TIC

ABIS

Perl DB access - ODBC

  • par ABIS
En ligne
762

In this one-day ABIS course, you learn using Perl's DBI module to access a relational database with SQL.

Perl is popular due to its stability, its free availability on nearly each platform, its performance, and its simplicity to write scripts in order to automate complex tasks.

Besides there is a wide range of extension modules that facilitate the writing of more specific Perl applications by means of an object oriented interface.

One of these modules is DBI, the standard database interface of Perl, that allows relational databases to communicate in a consistent way, independent of the applied database system.

In this course, you learn

  • how to connect to an RDBMS of your choice,
  • to retrieve data from a relational database,
  • to store data in a relational database

using Perl's DBI.

  • Overview of DBI:
    • Possibilities and restrictions of DBI.
    • Advantages of Perl
    • Link with ODBC and with SQL/CLI
  • Use of DBI: basics
    • Connection with a data base
    • Set-up and execution of a SQL select statement
    • Result processing: multiple rows
    • More SQL: insert/update/delete
    • Using DBI for accessing CSV or Excel files
  • The optimal application of Perl-data structures for DBI.
  • More DBI:
    • The use of host-variables
    • Cursors
    • The database catalog
    • Advanced topics: transactions - locking - performance
    • DBI extensions

Classroom instruction, theory with exercises, where database connections towards IBM Db2, Oracle, PostgreSQL, SQL Server, MySQL, MariaDB or SQLite can be used.

Delivered as a live, interactive training – available in-person or online, or in a hybrid format. Training can be implemented in English, Dutch, or French.

Programming experience in Perl, and a basic SQL knowledge (see courses Perl programming: fundamentals course and SQL and relational databases fundamentals).

En ligne € 762(TVA incluse) S'inscrire

Application developers, technical analysts and database administrators who are going to use Perl scripts