Useful tips for everyday
How do you allow nulls in unique fields? The solution to allow nulls in unique fields is create a unique filtered index excluding the nulls…
How do I shut down an Azure SQL Database? How to stop/start the Azure Database for MySQL using Azure portal In the Azure portal, choose…
How do I enable services in R? Enable script execution Open SQL Server Management Studio (SSMS) or Azure Data Studio. Connect to the instance where…
Can a DDL trigger be used instead of a trigger? DDL triggers cannot be used as INSTEAD OF triggers. DDL triggers do not fire in…
What is the PG Stat table in PostgreSQL? The pg_stat_database_conflicts view will contain one row per database, showing database-wide statistics about query cancels occurring due…
What is shared memory in PostgreSQL? Shared Memory: It is allocated by the PostgreSQL server when it is started, and it is used by all…
How to find out failed login attempts in Oracle? Run Netwrix Auditor → Navigate to Reports → Oracle Database → Select “Failed Activity” → Click…
How do you update multiple records with different values? UPDATE mytable SET fruit = CASE WHEN id=1 THEN ‘orange’ ELSE ‘strawberry’ END, drink = CASE…
What does the RAISE APPLICATION ERROR code do? Help Wanted! Question: What does the PL/SQL raise_application_error code do? Answer: The raise_application_error is actually a procedure…
How do you fix looping chains of synonyms in Oracle? ORA-01775: looping chain of synonyms – Basically means that you created a synonym that points…