About 163,000 results
Open links in new tab
  1. List the queries running on SQL Server - Stack Overflow

    Is there a way to list the queries that are currently running on MS SQL Server (either through the Enterprise Manager or SQL) and/or who's connected? I think I've got a very long running query is ...

  2. Login to Microsoft SQL Server Error: 18456 - Stack Overflow

    Jul 8, 2016 · I am getting this error while trying to connect to the SQL Server. Microsoft SQL Server Error: 18456 Can anybody tell me what the error code means?

  3. Unable to login to SQL Server + SQL Server Authentication + Error ...

    I have created login account on my localhost\\sql2008 Server (Eg. User123) Mapped to Database (default) Authentication Mode on SQL Server is set to both (Windows and SQL) But login to SQL …

  4. How to implement LIMIT with SQL Server? - Stack Overflow

    I have this query with MySQL: select * from table1 LIMIT 10,20 How can I do this with SQL Server?

  5. Shortcuts to comment and uncomment SQL queries in SQL Server …

    Aug 22, 2022 · To comment 3 SQL queries with shortcuts in SQL Server Management Studio(SSMS) as shown below, first, I dragged them, then pressed only one of CTRL+K or CTRL+C but I couldn't …

  6. SQL Server add auto increment primary key to existing table

    7 This answer is a small addition to the highest voted answer and works for SQL Server. The question requested an auto increment primary key, the current answer does add the primary key, but it is not …

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

  8. Difference between numeric, float and decimal in SQL Server

    Jun 29, 2009 · What are the differences between numeric, float and decimal datatypes and which should be used in which situations? For any kind of financial transaction (e.g. for salary field), which one is …

  9. Create Local SQL Server database - Stack Overflow

    Apr 11, 2017 · 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 …

  10. How to find SQL Server running port? - Stack Overflow

    Yes I read this How to find the port for MS SQL Server 2008? no luck. telnet 1433 returns connection failed, so I must specify other port. I tried to use netstat -abn but I don't see sqlservr...