Skip site navigation (1) Skip section navigation (2)

Re: SQL scipts parser

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Maciej Gawinecki <mgawinecki(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: SQL scipts parser
Date: 2009-02-27 15:22:49
Message-ID: 491f66a50902270722m16bcd0e4ha236878c7691b1f5@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
The driver doesn't have anything like that in it. However check out antlr
for SQL parsing.

Dave

On Fri, Feb 27, 2009 at 10:06 AM, Maciej Gawinecki <mgawinecki(at)gmail(dot)com>wrote:

> I'm looking for Java open-source SQL script reader/parser.
>
> That would allow me to find SQL comments about tables and columns, usually
> given in the neighbourhood of CREATE TABLE, ALTER TABLE commands.
>
> I suppose there's something like this in JDBC for PostgreSQL. Can you point
> me the sources/classes containing such a parser?
>
> Best,
> Maciej
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>

In response to

Responses

pgsql-jdbc by date

Next:From: DGPickettDate: 2009-02-27 17:41:11
Subject: Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?
Previous:From: Maciej GawineckiDate: 2009-02-27 15:06:27
Subject: SQL scipts parser

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group