Currently, I’ve been working to translate a whole table and put it into another table with same schema. Given: Since the table data rows are more tha ...
Currently, I’ve been working to translate a whole table and put it into another table with same schema. Given: Since the table data rows are more tha ...
I need to filter a sql request by passing a list of id to , this is the command: authorizedSoftwaresId is a list of string , containing data like : ...
In a situation like this: Will the using() statement still close the connection even though it wasn't declared in the using() statement? Similar t ...
My code above throws an error on cmd.ExecuteNonQuery. The error is that stored procedure expects parameter @ID which was not supplied. As you can se ...
How can I fix the vb.net error "array bounds cannot appear in type specifiers" in the following code? enter image description here ...
The Microsoft Documentation for the SqlCommand class gives the following example code which does not dispose of the SqlCommand. SqlCommand inherits f ...
I am trying to create a SSIS package that makes a call to the REST API and insert the responses into the Azure SQL server table. For this I am using t ...
I would like to add a [bit] field that is calculated from a Boolean [int] field SQL Table looks as follow: SQL Query to add column looks as follow ...
I'm executing a sql script using: The above will produce result similar to this: In short, it's possible to have non-unique RefNumber so I want ...
I am looking to concurrently read and update records from a database. At this point, I have a sample program set up that grabs records from a database ...
I get this error: System.Data.OleDb.OleDbException (0x80040E14): Syntax error (missing operator) in query expression ''O'Brien','O'Brien''. at S ...
This code here is a normal code to send sms using an API to a single number, I only added the SqlCommand to it and I know what to do about it, how a ...
What I am trying to do, is query from my database and populate the fields inside my Index.cshtml. Below are my codes. This is from my HomeController. ...
Helo, i have a simple problem, but can't find a solution. I have created a new table from pgAdmin4 with 21 columns. When i use the query editor and i ...
When I load the Form, I get an error Input string was not in a correct format ...
I have a stored procedure in my database: The procedure produces an output for each value depending on what @Element value is. Otherwise it returns ...
I have a stored procedure which uses a table valued parameter (tvp). In my application, I use a datatable as a SqlParameter to match the tvp structure ...
The problem is that if the 2nd or any other statement fails, then the preceding one remains intact i.e. already deleted. I want it to reverse if an ...
I'm trying to build a Form that can insert images to local DB and load them to flowLayoutPanel. Here is the layout of my form, I insert images in 'adm ...
I'm working on an application, reading tables in an MS-SQL database. Normally this way of working is fine: Now, however, I'm using a SELECT DISTINC ...