DEV Community


Answer: Get the generated SQL statement from a SqlCommand object?

boyukbas profile image baris ・1 min read

Not perfect but it might help

Whilst not perfect, here's something I knocked up for TSQL - could be easily tweaked for other flavors... If nothing else it will give you a start point for your own improvements :)

This does an OK job on data types and output parameters etc similar to using "execute stored…

Discussion (0)

Editor guide