Author: Yavuz Selim Kart

Creating Entity Class from Database Table in SQL Server

Hello to everyone, In this article, I will try to give information about creating Entity Class from database table in SQL Server. In SQL Server, in some cases you may want to create Entity Class from database table. You can easily do this using the code below. DECLARE @TableName sysname...

List IDENTITY Columns of All Tables in SQL Server

Hello to everyone, In this article, I will try to give information about listing the IDENTITY columns of all tables in SQL Server. In SQL Server, in some cases you may want to list the IDENTITY columns of all tables. You can easily do this using the code below. SELECT...

Listing Active Connections in SQL Server

Hello to everyone, In this article, I will try to give information about listing active connections in SQL Server. In SQL Server you may want to list active connections in some cases. You can easily do this using the code below. select db_name(dbid) as DatabaseName, count(dbid) as NumberOfConnections, loginame as...

Finding All Caps Words in SQL Server

Hello to everyone, In this article, I will try to give information about finding words with all capital letters in SQL Server. In SQL Server you may want to find words with all caps in some cases. You can do this easily using the code below. SELECT * FROM dbo.Categories...

Don`t copy text!