We create Indexed Views by adding indexes to views. For detailed information about the View concept, I would recommend you read my article “What is …
Read More »MSSQL
What is View in SQL Server and How To Create a View
We can briefly define View as a virtual table that does not physically store records, and is determined by a query. So, There is no …
Read More »How To Calcutale Database Transaction Count in SQL Server
Transaction count shows that how heavily the database is used. Some third-party applications can show the transaction count graphs of the databases. But each …
Read More »Exception Handling(TRY-CATCH) in SQL Server(TSQL)
We can use try-catch blocks in TSQL since SQL Server 2005. In the try block; We write the TSQL code that we want to catch …
Read More »How To Create a Server Level Role in SQL Server
Before reading this article, I suggest you read my article “Fixed Server Level Role in SQL Server“. Apart from the default roles on Instance, …
Read More »Fixed Server Level Roles in SQL Server
These roles are the default server level roles at the instance level. You can find the brief description about these roles below. sysadmin sysadmins …
Read More »CROSS APPLY and OUTER APPLY Operators in SQL Server(TSQL)
In SQL Server, we can join two tables with JOIN operators. You can read the “Join Types in SQL Server” article. With the CROSS …
Read More »How To Limit a User’s Resource Usage Using Resource Governor
Resource Governor announced with SQL Server 2008. We are able to limit resources of a session using Resource Governor. For example, a report user …
Read More »PIVOT and UNPIVOT Operators in SQL Server(TSQL)
The PIVOT , which is indispensable for Excel users, can be implemented with SQL Server 2005 via T-SQL. But I can’t say it’s as talented …
Read More »How To Move Logins to Contained Database
You can find detailed information about Contained Database in the article “What is Contained Database” We can create a new Contained Database and create …
Read More »