Is it possible to include sql files within another sql file in H2 database. I have 5 sql files In this example i want to include data-1.sql, data- ...
Is it possible to include sql files within another sql file in H2 database. I have 5 sql files In this example i want to include data-1.sql, data- ...
I have implemented a DbCommandInterceptor so that I can log the queries which EF is generating. I have added the interceptor to my EF Context within ...
I'm trying to execute multiple inserts at once like this but i got Oracle.ManagedDataAccess.Client.OracleException: 'ORA-00911: invalid character' ...
I have error when I try to pass parameter to stored procedure using DbCommand Error returned: Procedure or function 'Procedure_Name' expects par ...
I'm using the generic IDbCommand functions (in non SqlCommand helper methods) to set SqlCommand.DbType to DbType.Date similar to this: And the res ...
I use C# and I instantiate a DbCommand in order to execute an Oracle stored procedure. My question is: why does the procedure receive the value throu ...
I'm trying to follow the interception example shown here to get it working with EF 6 but running into a problem with the function RewriteFullTextQuery ...
I am trying to construct named parameters but receive an error. Couldn't get data from Database Oracle.DataAccess.Client.OracleException ORA-0185 ...
I have the following code: From reading a few articles on this site, it is suggested that the DbCommand should be in a using block, however, I can' ...
I use System.Data.Common.DbCommand to insert a new row to database. The point is, that this row already exists. If I would catch explicitly System. ...
I wish to collect Query plan via C# for improve development. My approach is use DbCommand and SET SHOWPLAN_XML ON But... Non-parameterized query ...
When I use the DbCommand.ExecuteNonQuery() in .net, it will return a scalar. Is that the only information I will get from this command? Or is there al ...
This is my code. I have added the db parameter too but it still shows me error (on execution). Must declare a scalar variable ...
As we know, there's no exception occur on this method. So I have a solution to make sure that it's working. My solution is using SQL Server Profiler ...
I have a Parameter add function like bellow: Now when do the following: I get Timeout exception. But if I run the same command Like I get my ...
someone who can help me with this error: [InvalidOperationException: Could not find type DbCommandDefinition in System.Data.Common and in Syst ...
Is there a way to write the following code in less lines? It seems like a lot of code to execute such a simple query. No LINQ as I am using VS2005. An ...
Problem statement. Basically I get 3 - 50 parameters that come back from a web service as a NVP array I then need to loop over them create the SQL co ...
If I have a DbCommand defined to execute something like: What is the best way to generate a List<String> of the returned records? No Linq et ...
I've created an DbDataAdapter from a DbConnection, filled a DataTable, and put it into a DataGridView. When I addapt/insert/delete data in the DataGr ...