News

Today’s README file explains how to create connection strings to SQL Server databases using Visual Studio’s built-in tools.. To provide an example using real source, I created a simple ...
We have our SQL server configured to only allow Windows accounts (i.e. not mixed). However, in some cases we are connecting from non-domain boxes and we want to specify a domain account to connect ...
Dynamic SQL lets you create a query string based off of user input. SQL Server allows you to create dynamic SQL statements. The statements use a SQL string varchar data type, then you execute the ...
In this third example, you use a DSN-less connection to connect to the data source. In this type of connection, you specify all necessary information (the driver, the server, the database name, and ...
For this article, we're only going to be demonstrating SQL authentication. If your database is set up with Windows authentication, the code we're about to cover will not work. We'll first need to ...
Here is where you can specify the database connection string and other ... Below is the script you can use to create a log table in the SQL Server database. CREATE TABLE [Log ...