About 1,960,000 results
Open links in new tab
  1. sql server - Database stuck in "Restoring" state - Stack Overflow

    Ran into a similar issue while restoring the database using SQL server management studio and it got stuck into restoring mode. After several hours of issue tracking, the following query worked …

  2. python - How do I connect to SQL Server via sqlalchemy using …

    71 sqlalchemy, a db connection module for Python, uses SQL Authentication (database-defined user accounts) by default. If you want to use your Windows (domain or local) credentials to …

  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 …

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

    Aug 13, 2011 · 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 …

  5. database - Unable to connect to SQL Server instance remotely

    Open SQL Server Management Studio; switch the " Server Type " to " Database Engine " and " Authentication " to " SQL Server Authentication ". The default login is " sa ", and the password …

  6. How to read SQL Table data into a C# DataTable - Stack Overflow

    May 20, 2011 · I've read a lot of posts about inserting a DataTable into a SQL table, but how can I pull a SQL table into a C#/.NET DataTable?

  7. What is best tool to compare two SQL Server databases (schema …

    Dec 4, 2015 · I would like to compare two SQL Server databases including schema (table structure) and data in tables too. What is best tool to do this?

  8. sql - Rebuild all indexes in a Database - Stack Overflow

    Sep 10, 2015 · I have a very large SQL Server 2008 R2 database (1.5TB) and will be copying some data from column to column within the same table. I've been told that the schema has a …

  9. sql server - Get size of all tables in database - Stack Overflow

    Oct 25, 2011 · To use this for all tables at once: USE MyDatabase; GO sp_msforeachtable 'EXEC sp_spaceused [?]' GO You can also get disk usage from within the right-click Standard …

  10. How do I see active SQL Server connections? - Stack Overflow

    Jan 21, 2019 · I am using SQL Server 2008 Enterprise. I want to see any active SQL Server connections, and the related information of all the connections, like from which IP address, …