CommandAsSql icon indicating copy to clipboard operation
CommandAsSql copied to clipboard

It's a simple extension method which enables you to write out a parsed SqlCommand object with their parameters and containing values

Results 4 CommandAsSql issues
Sort by recently updated
recently updated
newest added

Added support for using the extension with the Microsoft.Data.SqlClient library. Did a little rework of the solution to separate the System support from the Microsoft support.

Shouldn't GUID values be enclosed in quotes?

Do you feel the retval = "'" + sp.Value.ToString().Replace("'", "''") + "'"; is correct for DateTime? I'm getting localized Dates in Greek when I use it via CommandAsSql library. In...

enhancement
help wanted

error in the function ParameterValueForSQL, if the value is null, there should be a test on the value.

bug
enhancement
help wanted