About 483,000 results
Open links in new tab
  1. Script entire database SQL-Server - Stack Overflow

    Jul 22, 2009 · If you need to do it programmatically, you can use the SQL DMO library (OLE) against SQL Server 2000, but more likely you may wish to use the SQL SMO library (native …

  2. How to run sql script using SQL Server Management Studio?

    Apr 22, 2012 · Open SQL Server Management Studio > File > Open > File > Choose your .sql file (the one that contains your script) > Press Open > the file will be opened within SQL Server …

  3. Scripting SQL Server permissions - Stack Overflow

    Dec 31, 2009 · My options are Script Create, Script Drop, or Script Drop and Create. Thus, I can only generate scripts that include the permissions AND the creation of all the objects, which is …

  4. use SQL script to create SQL server DB - Stack Overflow

    Feb 4, 2013 · Problem Database in Asp.NET web Visual Studio 2010 when running on PC with SQL Server 2008 Express I can use the interface to manually add tables but I wanted to run …

  5. sql server - Create SQL script that create database and tables

    Apr 24, 2011 · In SQL Server Management Studio you can right click on the database you want to replicate, and select "Script Database as" to have the tool create the appropriate SQL file to …

  6. Generate script in SQL Server Management Studio

    Feb 24, 2012 · Here You can see step by step process of Generate script in SQL Server Management Studio : Step 1: Right Click on Your Database --> Select Task-->Generate …

  7. sql - Script to kill all connections to a database (More than ...

    This can be the case if the server instance has more than one database and the query directly or indirectly (for example through synonyms) use tables in more than one database etc. I …

  8. SQL Server query to find all permissions/access for all users in a …

    Jun 1, 2022 · This reflects the type of user/group defined for the SQL Server account. DatabaseUserName: Name of the associated user as defined in the database user account. …

  9. Script all data from SQL Server database - Stack Overflow

    Jul 23, 2011 · You can do it with SQL Server Management Studio. Here are the steps - as Mitch Wheat describes above (for SQL Server Management Studio 2012): Right-click your database. …

  10. Select SQL Server database size - Stack Overflow

    Aug 2, 2013 · There are already a lot of great answers here but it's worth mentioning a simple and quick way to get the SQL Server Database size with SQL Server Management Studio (SSMS) …

Refresh