About 50 results
Open links in new tab
  1. 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" …

  2. 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 …

  3. 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 …

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

    Sep 14, 2018 · Rename the DB and the Log files (Database Properties -> Files) In the Object Explorer window in SQL Management Studio, refresh the 'Databases Folder', if you see that there is another …

  5. SQL Server query to find all permissions/access for all users in a database

    Aug 13, 2011 · 290 I would like to write a query on a sql 2008 that will report all the users that have access to a specific database, or objects within the database such as tables, views, and stored …

  6. Create Local SQL Server database - Stack Overflow

    Apr 11, 2017 · 6 After installation you need to connect to Server Name : localhost to start using the local instance of SQL Server. Once you are connected to the local instance, right click on Databases and …

  7. sql server - How do I get list of all tables in a database using TSQL ...

    What is the best way to get the names of all of the tables in a specific database on SQL Server?

  8. How can I generate an entity–relationship (ER) diagram of a database ...

    128 I want to generate an ER diagram of an SQL database using Microsoft SQL Server Management Studio (SMSS). However, I don’t know how to. I found this technique online: Making ER Diagram …

  9. Wait on the Database Engine recovery handle failed. Check the SQL ...

    During service startup, SQL Server begins the database recovery process to ensure database consistency. Part of this database recovery process involves consistency checks on the underlying …

  10. How to grant a Managed Identity permissions to an Azure SQL …

    Aug 28, 2023 · It's a catch-22. After spending too much time on this, I believe it's not possible to create a new Azure SQL Server, a SQL Database, and a managed identity using Infrastructure as Code (IaC) …