Useful tips for everyday
Should I decrease swappiness? The default setting in Ubuntu is swappiness=60. Reducing the default value of swappiness will probably improve overall performance for a typical…
How can I delete duplicate records from a table in SQL? HAVING COUNT(*) > 1; In the output above, we have two duplicate records with…
How do you inner join a comma separated value? You can achieve this in 3 steps: First split the Locations field into rows. Join these…
How do you loop a JSON array? The following piece of code is a perfect example of how to use a for loop through an…
Why does MySQL Workbench keeps crashing? You are running many mysqld servers using the same data directory on a system that does not support good…
How do I restore a BAK file in Linux? To restore this backup file : Delete the interface file with the broken settings. Remove .…
Can you index a query? Indexing is the way to get an unordered table into an order that will maximize the query’s efficiency while searching.…
How do I import a sample into Oracle SQL Developer? Once the file is downloaded, simply right click on the Tables node in SQL Developer’s…
How do I rollback a DB change? Using SQL Server Management Studio Right click on the database you wish to revert back to a point…
How do I change my job history retention in SQL? In Object Explorer, connect to an instance of the SQL Server Database Engine, and then…