I am having a problem when using an INSERT statement with a nested select. The query works when executing it in the SQLManagement Studio but returns an error when executing it in code.
I\'m developing a application that\'s for SQL-surveillance, it\'s just a console application that will run each 5min on a bunch of servers. It has a config file with connection string and sql query. T
I wonder if any one may be able to help? I have an issue with a SqlCommand object that when it executes a stored procedure that returns no records, will timeout.
Which pattern is better for SqlConnection object? Which is better in performance? Do you offer any other pattern?
Dreadful title right? Thought I\'d see if Stack overflow is quicker than me testing something while I get a thousand interruptions from other work :)
What changes SqlCommand.Parameters.AddWithValue() does with the query? I expect that: It replaces e开发者_开发知识库very \' character by \'\',
I\'ve got a loop that executes the stored procedure in a loop with over 40,000 iterations, like so: SqlCommand command = new SqlCommand(\"WriteDataToDB\");
Hi i have a columm in the table and i want to select the most common item from the selected column. The table is set up
I\'ve a windows forms application with MS SQL Server 2005 as the back end. I have written code in the form to call few stored procedures using SqlConnection, SqlCommand objects and i properly dispose
I have the following code: int result = -1; StringBuilder sb = new StringBuilder(); SqlCommand cmd = MyConnection.