If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 SQL Parser

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-07-11, 01:59
kunalce4u kunalce4u is offline
Registered User
 
Join Date: Aug 2011
Posts: 3
Unhappy DB2 SQL Parser

Hi,
I am looking for a Db2 SQL Parser.

In my application, I am receiving SQL from other application. I want to validate that SQL text on my client. One simple|obvious way is to make a DB call, and let DB validate the SQL for me. But that would add a performance overhead. I want to parse it on my end and then send the Query for execution to DB.

For SQLServer, Microsoft provides TSql100Parser Class in .net4. But I can not find anything for DB2 SQLs. I am using C# with DB2.
Reply With Quote
  #2 (permalink)  
Old 08-07-11, 02:05
tonkuma tonkuma is offline
Registered User
 
Join Date: Feb 2008
Location: Japan
Posts: 2,193
I want to debug other application which are sending SQL.
Reply With Quote
  #3 (permalink)  
Old 08-07-11, 02:09
kunalce4u kunalce4u is offline
Registered User
 
Join Date: Aug 2011
Posts: 3
Exclamation @tonkuma

Let me put it simply: "I want to parse DB2 SQL text for validation purpose without making a DB call."
Reply With Quote
  #4 (permalink)  
Old 08-07-11, 21:28
damaha damaha is offline
Registered User
 
Join Date: Jun 2005
Posts: 6
Take a look at this DB2 SQL Parser, it can do offline SQL syntax check:
DB2 SQL Parser for C#, VB.NET and VC, VB, Delphi
Reply With Quote
  #5 (permalink)  
Old 08-07-11, 23:45
kunalce4u kunalce4u is offline
Registered User
 
Join Date: Aug 2011
Posts: 3
@damaha

There better be a free solution to this little thing. Can't afford it.
Reply With Quote
Reply

Tags
sql parser, sql validation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On