SQL parsing library
From: Chris Smith (cdsmith_at_twu.net)
Date: 01/15/04
- Next message: DB2: "Re: Broken ResultSet with DB2 and JDBC"
- Previous message: Rick Genter: "Hang using Microsoft JDBC driver for SQL Server"
- Next in thread: Robert Klemme: "Re: SQL parsing library"
- Reply: Robert Klemme: "Re: SQL parsing library"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 15 Jan 2004 06:51:04 -0700
Good evening,
I'm hunting for an SQL parsing library. Specifically, the task I have
in mind is as follows: take an SQL query (which may already contain some
'?' characters for parameterized values), and replace ALL literal values
with the '?' character, while not touching anything else in the query.
I want to do this because I'm instrumenting a JDBC driver to provide
metrics on the frequency and average running time of queries in the
application, and I want to treat all queries of the same general form as
being identical to each other when counting frequency and average
running time.
Thanks in advance,
-- www.designacourse.com The Easiest Way to Train Anyone... Anywhere. Chris Smith - Lead Software Developer/Technical Trainer MindIQ Corporation
- Next message: DB2: "Re: Broken ResultSet with DB2 and JDBC"
- Previous message: Rick Genter: "Hang using Microsoft JDBC driver for SQL Server"
- Next in thread: Robert Klemme: "Re: SQL parsing library"
- Reply: Robert Klemme: "Re: SQL parsing library"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|