sqlcommand
In Java, send commands to another command-line program
I am using Java on Windows XP and want to be able to send commands to another program such as telnet.[详细]
2022-12-31 17:30 分类:问答How to capture SQL with parameters substituted in? (.NET, SqlCommand)
If there an easy way to get a completed SQL statement back after parameter substitution?I.e., I want to keep a logfile of all the SQL this program runs.[详细]
2022-12-31 13:34 分类:问答Under what circumstances is an SqlConnection automatically enlisted in an ambient TransactionScope Transaction?
What does it mean for an SqlConnection to be \"enlisted\" in a transaction?Does it simply mean that commands I execute on the connection will participate in the transaction?[详细]
2022-12-31 11:50 分类:问答Write utf-8 to a sql server Text field using ADO.Net and maintain the UTF-8 bytes
I have some xml encoded as UTF-8 and I want to write this to a Text field in SQL Server. UTF-8 is byte compatible with Text so it should be able to do this and then read out the xml later still encode[详细]
2022-12-31 10:27 分类:问答Do i need to dispose of MySqlCommand?
I find it incredibly annoying to write a using s开发者_开发技巧tatement on every one of my queries (which require its own command or write parameters.clear()) which sometimes require declaring variabl[详细]
2022-12-31 05:43 分类:问答Why the "Non" in "ExecuteNonQuery"?
I know this is not a hell of an useful question but I can\'t help being bugg开发者_Go百科ed by it.[详细]
2022-12-30 02:10 分类:问答SqlCommand.Parameters.AddWithValue issue: Procedure or function X expects parameter @Y, which was not supplied
I have a problem with the folowwing piece of code. I am passing a parameter (List<SqlParameter>) to a method executing the following code.[详细]
2022-12-29 03:42 分类:问答Bizarre Escape Character Question
I hav开发者_如何转开发e the following c# code embedded in a literal <% %> of a c# asp.net page[详细]
2022-12-28 06:17 分类:问答Database.ExecuteNonQuery does not return
I have a very odd issue. When I execute a specific database stored procedure from C# using SqlCommand.ExecuteNonQuery, my stored procedure is never executed.[详细]
2022-12-27 05:20 分类:问答What SQL is being sent from a SqlCommand object
I have a SqlCommand object on my c# based asp.net page. The SQL 开发者_运维问答and the passed parameters are working the majority of the time. I have one case that is not working, I get the following[详细]
2022-12-26 21:33 分类:问答