
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 …
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?
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 …
Reset identity seed after deleting records in SQL Server
I have inserted records into a SQL Server database table. The table had a primary key defined and the auto increment identity seed is set to “Yes”. This is done primarily because in SQL …
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, …
How to ping/test connection to SQL Server without software (like ...
Note that the connection is fine, I can connect to the server through SSMS, but it would be useful to be able to troubleshoot the connection otherwise. For example, we have people working …
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), …
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 …
SQL Server: Extract Table Meta-Data (description, fields and their …
I am trying to find a way to extract information about my tables in SQL Server (2008). The data I need needs to include the description of the table (filled from the Description property in the …
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 …