Many times we will encounter queries that take too long to complete or never complete at all. To find what exactly is at fault the most useful information is the actual execution plan. As the actual execution plan requires the completion of the query, with… read more
How can we see historical image of a table in Oracle Database with Flashback Query
Many times we will need to see what entries the table had some time ago. We may still have to restore it from a wrong update or even drop. In Oracle this is easily done using flashback query… read more
How can we calculate our car insurance premiums in SQL Server using Python (no API)
Let's say we have in SQL Server a table of cars and drivers and we want to find their cheapest premium. This will certainly be possible with an API / Web Service. But this solution would require the… read more
How to force a plan in SQL Server and why not
Sometimes, depending on the value we have given to a parameter, a query may run with a different plan (execution plan) and have a different duration. This phenomenon is called parameter sniffing. This may be due to… read more
How do we return an Oracle database to the previous state of a restore point (Flashback Database to guaranteed restore point)
In the article we will analyze how we can use the flashback database function in a guaranteed restore point in an Oracle database. The flashback database belongs to the category of data protection and provides the possibility to freeze the… read more
Is query join performed between SQL Server and Oracle tables? (aka PolyBase)
In the article we will see a magical way so that we can use in select queries data from external sources (without Linked Server) and more specifically from Oracle Database. What is PolyBase As of SQL Server 2016 the… read more
How to export bulk data from Oracle database using Oracle Data Pump (expdp)
Many times we will need to keep the table data and their metadata (packages, procedures, functions, etc.) so that we can then import them into the same or a different system. The data can be extracted using the… read more
What is Always Encrypted and how it is applied to protect sensitive data
In the era of GDPR let's talk about another SQL Server feature to protect sensitive data. It's none other than Always Encrypted! What is Always Encrypted Its purpose is that the data is always encrypted by… read more
How do we connect a Microsoft Excel to SQL Server
Microsoft Excel, although we use it every day and is one of the most well-known and oldest Microsoft programs, hides many possibilities. In this article we will see how to connect a SQL Server database... read more