DEV Community

baris
baris

Posted on

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

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…

Top comments (0)