A simple 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''!')
- Sources inherited from project openSUSE:Leap:15.2
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.2:PowerPC/perl-SQL-Tokenizer && cd $_
- Create Badge
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