About 6,880,000 results
Open links in new tab
  1. SQL Server query to find all permissions/access for all users in a database

    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 procedures, either

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

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

  4. Get all table names of a particular database by SQL query?

    Oct 12, 2010 · SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE' But it is giving table names of all databases of a particular server but I …

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

    Mar 28, 2009 · 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 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, connect …

  7. Python pyodbc connect to Sql Server using SQL Server Authentication

    Nov 13, 2018 · The window user details is different from the Sql Server user I log in. So I had tried to use pyodbc connect to the database using the username (Admin_JJack) and password.

  8. 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" …

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

  10. sql server - Finding blocking/locking queries in MS SQL (mssql) - Stack ...

    Jul 10, 2016 · A small variation; so you can view both the blocking and blocked queries together: SELECT DB_NAME (blocking.database_id) as database_name, blocked.text as blocked_query, …