Useful tips for everyday
How is data loaded into a database? Data loading is the process of copying and loading data or data sets from a source file, folder…
When does an aggregate function return a null? COUNT never returns null, but returns either a number or zero. For all the remaining aggregate functions,…
How to update column based on another column in SQL? Sometimes you may need to update a column in table based on value of another…
What is Archivelog mode? ARCHIVELOG mode is a mode that you can put the database in for creating a backup of all transactions that have…
Does SQL Server update statistics automatically? SQL Server uses the following method to update statistics automatically. For the large tables, we require to update 20%…
Do foreign keys need to be indexed? It is highly recommended to create an index on the foreign key columns, to enhance the performance of…
How to add a secondary replica to an always on availability group? This topic describes how to add a secondary replica to an existing Always…
How do I keep the connection alive in SQL Developer? Go to Tools –> Preferences and click “Check connection”. It pings the database every 60…
How do I stop clustered index scanning? Lookups When. Query Optimizer uses the non-clustered index to search few column data and base table for other…
What account should SQL Server service run under? The SQL Server Service runs under the account of the computer. The SQL Server Service has access…