News

Notes on the create script for server principals: I have included a hashed version of the password and the sid. This means that when run on another server the password and the sid will remain the same ...
Become familiar with SQL Server unit test scripts. Learn about pre-test, test, and post-test scripts and the common scripts TestInitialize and TestCleanup. Each SQL Server unit test contains a single ...
We are excited to announce the public preview availability of two new command line tools for SQL Server: The mssql-scripter tool enables developers, DBAs, and sysadmins to generate CREATE and INSERT T ...
Last week at work I was given a folder of 1,500 scripts – each containing a create table statement ... First, I used Connect-DbaInstance to create a server object to use to run the queries. This means ...
Microsoft recently updated its All-In-One Script Framework, which features SQL Server (and other) scripts designed to address common problems reported by users in forums, support incidents and online ...
but we don't always know the name of the instance (Always only 1 SQL Server running on a single server). If this was easy, we'd just run: ...
To better structure the code samples, I placed each application in its own separate directory, and I placed the SQL Server script files for the database in their own separate directory. Then, I rolled ...
At its Ignite conference in Orlando today, Microsoft released a new version of its core relational database, SQL Server. The new version, SQL Server 2019, takes important capabilities in its ...