About 12,500 results
Open links in new tab
  1. sql server - Get size of all tables in database - Stack Overflow

    Oct 25, 2011 · 801 If you are using SQL Server Management Studio (SSMS), instead of running a query (which in my case returned duplicate rows) you can run a standard report. Right click on the …

  2. sql server - Database stuck in "Restoring" state - Stack Overflow

    I had this situation restoring a database to an SQL Server 2005 Standard Edition instance using Symantec Backup Exec 11d. After the restore job completed the database remained in a "Restoring" …

  3. How to fix Recovery Pending State in SQL Server Database?

    Sep 14, 2018 · One way to end up with a database that is in "Recovery Pending" state, is in the context of restoring a backup of an encrypted database (encrypted with TDE) on a new SQL Server instance.

  4. Is there a limit size for a SQL Server database? - Stack Overflow

    Jul 31, 2018 · A database is composed of files, which store the data. A database can grow as large as the memory available which stores it.

  5. sql - Find all tables containing column with specified name - Stack ...

    These come in very handy if your database contains encrypted objects (views, procedures, functions) because you can’t easily search for these using system tables.

  6. How do I search an SQL Server database for a string?

    Dec 8, 2019 · I need to search an SQL Server database for all mentions of a specific string. For example, I would like to search all tables, views, functions, stored procedures, ... for string …

  7. How do I shrink my SQL Server Database? - Stack Overflow

    Jan 13, 2009 · Here's another solution: Use the Database Publishing Wizard to export your schema, security and data to sql scripts. You can then take your current DB offline and re-create it with the …

  8. Import / Export database with SQL Server Server Management Studio

    Copied database.mdf and database_log.ldf from the above mentioned folder (SQL 2012), then transferred those 2 files to a new server with different version (SQL Express 2014) of SQL …

  9. SQL Server 2008: How to query all databases sizes?

    I have MS SQL 2008 R2, 500 databases. What is the most efficient, easiest and 'modern' way to query all databases sizes. The output should have columns: DatabaseName DataFilesSize LogFilesSize

  10. List of all index & index columns in SQL Server DB

    Apr 20, 2009 · How do I get a list of all index & index columns in SQL Server 2005+? The closest I could get is: select s.name, t.name, i.name, c.name from sys.tables t inner join sys.schemas s on …