Is there a web site where I can paste a SQL Insert statement and have it break it out by column?

Posted by Scott Whitlock on Stack Overflow See other posts from Stack Overflow or by Scott Whitlock
Published on 2010-05-03T12:44:49Z Indexed on 2010/05/03 12:48 UTC
Read the original article Hit count: 246

Filed under:
|

I've been working on an application that has no discernable data access layer, so all the SQL statements are just built up as strings and executed. I'm constantly confronted by very long INSERT statements where I'm trying to figure out what value in the VALUES list matches up with what column in the column name list.

I was about to create a little helper application where I could paste in an INSERT statement and have it show me a list of values matched up with the column names, just for debugging, and I thought, "someone else has probably done this already."

Does anyone know of a web site where I can just paste in an INSERT statement and have it show me a two column table with column names in the first column and values in the second column?

© Stack Overflow or respective owner

Related posts about sql

Related posts about insert