About 22,100,000 results
Open links in new tab
  1. How to get the list of all database users - Stack Overflow

    Sep 18, 2013 · I am going to get the list of all users, including Windows users and 'sa', who have access to a particular database in MS SQL Server. Basically, I would like the list to look like as …

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

  3. How to select data of a table from another database in SQL Server?

    Suppose that I have a database which name is testdb in test server. I also have a database named proddb in prod server. Now I want to select data of a table of testdb database from …

  4. sql - Grant execute permission for a user on all stored procedures …

    Mar 25, 2011 · I generated script from old database, created a new database and imported all data from old database. So far so good, however, no user has execute rights for stored …

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

  6. Error when installing Microsoft Sql Server 2019, cannot find the ...

    Apr 13, 2022 · An installation package for the product Microsoft OLE DB Driver for SQL Server cannot be found. Try the installation again using a valid copy of the installation package …

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

    In my case, I'm using SQL Server 14.0 with Management Studio 17.9.1, and I have to say this is the only answer thats works to me. I was wanting to delete some databases wich accomplish a …

  8. Selecting data from two different servers in SQL Server

    Jul 17, 2009 · How can I select data in the same query from two different databases that are on two different servers in SQL Server?

  9. Set database from SINGLE USER mode to MULTI USER - Stack …

    The DB went into "Single User" Mode when i was attempting to restore a backup. I hadn't created a backup of the target database before attempting to restore (SQL 2017). this will get you …

  10. How to connect to a local database in SQL Server Management …

    Apr 6, 2017 · After connection to server you can create a DB in which you want the dump to get imported. If your SQL dump contains create Database statement, then you don't need to …