A simple SQL tokenizer

Edit Package perl-SQL-Tokenizer

SQL::Tokenizer is a simple tokenizer for SQL queries. It does not claim to
be a parser or query verifier. It just creates sane tokens from a valid SQL
query.

It supports SQL with comments like:

-- This query is used to insert a message into
-- logs table
INSERT INTO log (application, message) VALUES (?, ?)

Also supports '''', '""' and '\'' escaping methods, so tokenizing queries
like the one below should not be a problem:

INSERT INTO log (application, message)
VALUES ('myapp', 'Hey, this is a ''single quoted string''!')

Refresh
Refresh
Source Files
Filename Size Changed
SQL-Tokenizer-0.24.tar.gz 0000010127 9.89 KB
perl-SQL-Tokenizer.changes 0000000312 312 Bytes
perl-SQL-Tokenizer.spec 0000002124 2.07 KB
Comments 0
openSUSE Build Service is sponsored by