Category: SQL Server

How Much RAM Does Which Database Use in SQL Server?

Hello everyone, In this article, I will try to give information about which database uses how much RAM in SQL Server. In SQL Server, you may want to know how much RAM each database uses in some cases. You can easily do this using the code below. SELECT [DatabaseName] =...

Running Large Sized SQL Scripts in SQL Server

Hello everyone, In this article, I will try to give information about running large SQL Scripts in SQL Server. In SQL Server, in some cases, you may want to run SQL scripts that consist of too many queries, but in this case, you may also get an error. You can...

Cursor Changing Schema Name in SQL Server

Hello everyone, In this article, I will provide information on how to write a cursor that changes the schema name in SQL Server. While researching in SQL Server I was wondering how to change all schema names in one go. You can see the sample code for this below. Just...

Function to Clear Special Characters in SQL Server

Hello everyone, In this article, I will try to give information about the function that clears special characters in SQL Server. In SQL Server you may want to clear special characters in some cases. You can easily do this using the function below. CREATE FUNCTION fn_Ozel_Karakterleri_Temizle (@Temp VARCHAR(2000)) RETURNS VARCHAR(2000)...

Don`t copy text!