Useful tips for everyday
How do I upgrade my 2008 R2 to 2016? For on-premises servers, there is no direct upgrade path from Windows Server 2008 R2 to Windows…
Why we use parallel in SQL query? Introduction to Parallel Execution. When Oracle runs SQL statements in parallel, multiple processes work together simultaneously to run…
What is the difference between a user without a login and orphaned Users? Normally when orphaned users are discovered they are just connected back to…
How do I remove blank lines? Press ctrl + h (Shortcut for replace). In the Find what zone, type ^\R ( for exact empty lines)…
How display row value in column in SQL? SET @sql = CONCAT(‘SELECT Meeting_id, ‘, @sql, ‘ FROM Meeting WHERE GROUP BY Meeting_id’); Similarly, you can…
How do you calculate percentage growth month-over-month? To calculate Month-over-Month growth, subtract the first month from the second month and then divide that by the…
Where is SQL Server installation media? For the SQL Server 2017 (Developer Edition) installation, I did the following: Open SQL Server Installation Center. Click on…
Is there any way to copy stored procedures from one DB to another? I did that using SQL Server 2008 Manager – Tasks > Import/Export…
How do you write a subquery in a case statement? Subqueries in BETWEEN and CASE Statements |–Nested Loops(Inner Join, OUTER REFERENCES:([T2].[A], [Expr1004])) |–Nested Loops(Inner Join,…
How to use Postgres to update from another table? PostgreSQL Update Statement Syntax. The basic syntax of the UPDATE Statement follows: 1. UPDATE TABLE_NAME SET…