Useful tips for everyday
What types of storage are supported by RDS? Amazon RDS provides three storage types: General Purpose SSD (also known as gp2), Provisioned IOPS SSD (also…
Can we use INSERT in CTE? A common table expression, CTE, is used to a specific temporary result set by using SELECT, INSERT, UPDATE, or…
How do you check stored procedure used in another stored procedure? In Object Explorer, connect to an instance of Database Engine and then expand that…
What is cluster quorum witness? The cluster quorum is the majority of voting nodes in the active cluster membership plus a witness vote. A quorum…
Can we use alias in SELECT statement? A programmer can use an alias to temporarily assign another name to a table or column for the…
How do I connect to SQL Server using different Windows Authentication? Select Connect. In Object Explorer, expand the SQL Server, expand Security, right-click Logins, and…
How do you insert the output of a stored procedure into a table? Insert results of a stored procedure into a temporary table SELECT *…
What are the disadvantages of join? A disadvantage of using joins is that they are not as easy to read as subqueries. Another disadvantage is…
How do I create a SQL Server Login for a domain? Option 1 – Create Individual SQL Server Logins in Advance Open SQL Server Management…
What can we use instead of GROUP BY? SQL RANK Analytic Function as GROUP BY Alternative You can use RANK or ROW_NUMBER analytical function if…