Useful tips for everyday
How do I start MongoDB in Debian? Start MongoDB. Issue the following command to start mongod: sudo service mongod start. Stop MongoDB. As needed, you…
What is HoBT lock? When SQL Server performs data sorting for I/O operations, it sorts the data first by partition. HoBT-level locks usually increase concurrency,…
How do I grant access to SSIS? To grant access to the Integration Services service Right-click Microsoft SQL Server Integration Services 13.0, and then click…
How do you concatenate two columns in query? Select two or more columns that you need to merge. To select more than one column contiguously…
What does Patindex return? The PATINDEX() function returns the position of a pattern in a string. If the pattern is not found, this function returns…
Is UNION query slow? So this one takes 0.063. But if I combine it in a UNION (doesn’t matter if it’s UNION ALL OR DISTINCT…
How do I count non null values in SQL? Using SELECT COUNT(*) or SELECT COUNT(1) (which is what I prefer to use) will return the…
What is circular dependency and how can I solve it? A circular dependency is where Project A depends on something in Project B and project…
What device uses the most power? Here’s what uses the most energy in your home: Water heater: 14% of energy use. Washer and dryer: 13%…
How do I expand a SQL database? Expand Databases, right-click the database to increase, and then click Properties. In Database Properties, select the Files page.…