
The installer is pretty horrible… but if you pass the intelligence test you will be rewarded with tools that make it very easy to drop databases (and many other useful tasks). If you don’t have SQL Server Object Explorer then I’d seriously consider just installing the Express version of SQL Server Management Studio. The script syntax is very simple – DROP DATABASE 3) If prompted, select the version(s) of Visual Studio you wish to integrate with (eg Visual Studio 2017) Step 3: Create a new connection in Visual Studio: Create a new connection from Server Explorer in Visual Studio and use these images as guides: change the datasource, making sure to choose the flavor of ODP.NET that your.

This template is used for creating a SQL server database. Give a name to the project (here, I am giving name as SampleAccount.). Select SQL Server from Left panel and SQL Server Database Project. Now write a script to drop the database and execute it (right-click –> Execute). Open Visual Studio and create a blank solution as shown, Add New Project under the solution. This one will work with all SKUs of Visual Studio 2012.Ĭonnect to the master database of your database server. Once you have connected to your database server you can delete a database by right-clicking on it and selecting Delete (or selecting it and hitting the Del key).
Visual studio server explorer sql express windows#
You’ve probably only got this if you parted with some hard earned cash to buy your copy of VS (or convinced your employer to do so ) SSMS is the tool used to connect to and manage SQL Server Instances, if you havent installed a SQL Server instance you have nothing to run your queries against Press Windows Key + R (Run) and type services.

If you have a SKU of Visual Studio that includes SQL Server Object Explorer (SSOE) then it’s pretty easy. Seems like it should be easy right? It depends which SKU of Visual Studio you have…
