Split any SQL code into atomic statements

Edit Package perl-SQL-SplitStatement

This is a simple module which tries to split any SQL code, even including
non-standard extensions, into the atomic statements it is composed of.

The logic used to split the SQL code is more sophisticated than a raw split
on the ; (semicolon) character: first, various different statement terminator
tokens are recognized (see below for the list), then this module is able to
correctly handle the presence of said tokens inside identifiers, values,
comments, BEGIN ... END blocks (even nested), dollar-quoted strings, MySQL
custom DELIMITERs, procedural code etc.

Refresh
Refresh
Source Files
Filename Size Changed
SQL-SplitStatement-1.00023.tar.gz 0000063709 62.2 KB
cpanspec.yml 0000000923 923 Bytes
perl-SQL-SplitStatement.changes 0000001061 1.04 KB
perl-SQL-SplitStatement.spec 0000003463 3.38 KB
Revision 5 (latest revision is 6)
Andrey Karepin's avatar Andrey Karepin (EGDFree) accepted request 898663 from Tina Müller's avatar Tina Müller (tinita) (revision 5)
- updated to 1.00023
   see /usr/share/doc/packages/perl-SQL-SplitStatement/Changes
  1.00023   2021-06-05 22:10:21 IDT
  1.00022   2021-06-05 21:53:11 IDT (TRIAL RELEASE)
     * support REPLACE as an INSERT alternative (gh #5)
     * allow { and } to pass through in PL/Perl functions (gh #2)
  1.00021   2021-06-04 15:21:30 IDT (TRIAL RELEASE)
     * fix POD issues
     * fix issues with options in bin/sql-split (breaking, but wasn't working anyways)
Comments 0
openSUSE Build Service is sponsored by