Useful tips for everyday
How do I limit the number of rows in mssql? Use TOP (or OFFSET and FETCH) instead of SET ROWCOUNT to limit the number of…
How do you add a space at the end of a string? newStr = pad( str ) adds space characters to the ends of the…
How do you make a SQL query not case sensitive? Case insensitive SQL SELECT: Use upper or lower functions select * from users where lower(first_name)…
Where is the My CNF file? By default and on single instance MySQL servers you are most likely to find this file called my. cnf…
How do you use a function based index? Function-based indexes allow you to create an index based on a function or expression. The value of…
How do I find my Vertica database size? There are many ways you can monitor your database size. Use Vertica Management Console. Query the system…
How do I display single quotes in PL SQL? The most simple and most used way is to use a single quotation mark with two…
How to get rid of duplicate entry error? STEP 1. Firstly backup your database using the below command STEP 2. Once the backup is done,…
What is data type and operator? The Operator data type is any expression that is parsed and returns a value, such as tod() , gui()…
What is a SQL Server availability Group? A read-scale availability group is a group of databases that are copied to other instances of SQL Server…