About 170,000 results
Open links in new tab
  1. 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?

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

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

  4. Auto increment primary key in SQL Server Management Studio 2012

    Jun 12, 2012 · The MS SQL Server uses the IDENTITY keyword to perform an auto-increment feature. In the example above, the starting value for IDENTITY is 1, and it will increment by 1 for each new …

  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 - Simple way to transpose columns and rows in SQL? - Stack ...

    How do I simply switch columns with rows in SQL? Is there any simple command to transpose? ie turn this result: Paul | John | Tim | Eric Red 1 5 1 3 Green 8 ...

  7. sql server - 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 what is shown ...

  8. How to find server name of SQL Server Management Studio

    Apr 18, 2013 · I installed Microsoft SQL Server 2008. When I start SQL Server Management Studio (SSMS), I get the Connect to Server login window with a blank textbox for Server name. I have tried …

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

  10. How to get a list of all the MS SQL Server instances on the local ...

    It return list of system services for every MS SQL instances. But it return only local instances, on current machine, for remote server, on remote machine, use sqlcmd -L.