Author: Yavuz Selim Kart

Finding CPU Count and CPU Core Count in SQL Server

Hello everyone, In this article, I will try to give information about finding CPU count and CPU core count in SQL Server. In SQL Server you may want to find CPU Count and CPU Core count with TSQL codes in some cases. You can easily do this using the codes...

Listing Failed Jobs in SQL Server

Hello everyone, In this article, I will give information about listing the failed jobs in SQL Server. In some cases, we may want to list the jobs that are not running successfully in SQL Server. You can easily do this with the help of the code below. SELECT @@SERVERNAME ServerName,...

Listing All Indexes in Database in SQL Server

Hello everyone, In this article, I will give information about listing all the indexes in the database in SQL Server. In SQL Server, in some cases, we may want all index values in the database to be listed. You can easily do this with the help of the code below....

Extracting Filename from a File Path in SQL Server

Hello everyone, In this article, I will provide information about pulling a filename from a file path in SQL Server. In SQL Server, in some cases, we may want to extract the file name from the file path information. You can easily do this with the help of the code...

Function to Clear Trailing in a Post in SQL Server

Hello everyone, In this article, I will provide information about the function that clears the trailing part in an article in SQL Server. In SQL Server, in some cases, we may want to clear the trailing part of an article. You can easily do this with the help of the...

Function Controlling Weekdays in SQL Server

Hello everyone, In this article, I will give information about the function that controls weekdays in SQL Server. In SQL Server we may want to check the weekdays in some cases. You can easily do this with the help of the function below. CREATE FUNCTION CheckYourWeekdays ( @Date DATE )...

Don`t copy text!