The difference between these functions and the data and performance considerations when executing data queries.
Posts Tagged ‘database’
SQL Server - ExecuteNonQuery, ExecuteReader and ExecuteScalar functions
Sunday, January 24th, 2010Upgrading SQL Server Express
Saturday, January 2nd, 2010During the maintenance of a Windows server it was decided that it was time to ditch SQL Server Express and migrate to SQL Server Workgroup Edition - mainly because the restrictions on database size and users were becoming an issue.
However, rather than proceeding to backing-up the database, uninstalling the Express version and then configuring the new installation of SQL Server from scratch, a little research proved suspicions that it would be possible to migrate through an upgrade procedure that would maintain the existing database and it configuration.
The procedure was simple enough - run setup.exe from the command line and include the switch SKUUPGRADE=1. Of course, before we began we still created a backup of the database!
At first setup appears to run as normal, but later during the process you are able to select the database that is to be upgraded. By following the installation wizard and waiting for installation to complete we were able to upgrade the SQL Server Express database to the Workgroup Edition. We confirmed installation by checking the version of the database using SQL Server Management Studio. After some security configuration in SQL Server Configuration Manager we found that users could immediately connect to the upgraded database without issue.