Author: Yavuz Selim Kart

Re-Enable All Triggers in SQL Server

Hello to everyone, In this article, I will try to give information about how to reactivate all Triggers in SQL Server. In SQL Server you may want to re-enable all Triggers in some cases. You can easily do this using the code below. EXEC sp_MSforeachtable ‘ALTER TABLE ? ENABLE TRIGGER...

Listing Indexes Linked to Tables in SQL Server

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

Getting List of All Empty Tables in SQL Server

Hello everyone, In this article I will try to give information about getting list of all empty tables in SQL Server. In SQL Server you may want to get a list of all empty tables in some cases. You can easily do this using the code below. s.name schema_name, SUM(p.rows)...

Extracting Domain Name from Mail Address in SQL Server

Hello everyone, In this article, I will give information about how to extract the domain name from the mail address in SQL Server. In SQL Server, in some cases, you may want to reach the domain name from the e-mail address you have, that is, to obtain the domain information....

Don`t copy text!