Adding Key Value Pair To A Dictionary In Python
How to add key value pair to a dictionary in Python? You can add key value pairs to an existing dictionary by couple of methods. Let us see them in detail.
How to add key value pair to a dictionary in Python? You can add key value pairs to an existing dictionary by couple of methods. Let us see them in detail.
extend() vs append(): Pythons list or array methods extend() and append() appears similar, but they perform different operations on the list. Let’s see the differences between extend() and append() list methods.
Here is the simple method to check if the list is empty or not in python programming language.
Lately I got questions asking for a quick lightweight tool to compare code files. Even though there are several tools available in the market, I use Visual Studio Code to quickly compare contents of two files.
Now we will see about the simplest method for killing all the active connections of an SQL Server database.
Here are the queries I’m using to fetch the data and log file sizes separately for a specific database. These T-SQL queries return file sizes, used space and free space using DMVs.
Here is the quick query to find deadlocks which I have used for long time. This statement is based on the SYS.DM_EXEC_REQUESTS dynamic management view.
There are several ways to get the database backup history in SQL Server. Here I have listed two of the quickest ways to get the backup history. I use these methods pretty regularly.
There are several ways to find the active SQL connections is SQL Server. Let us see few of the simple methods which are using T-SQL queries.
About finding the DML Triggers which are modified or created during a given date range using the object catalog view sys.triggers .
In this article we will see how to restore a database backup file to Docker SQL Server Container Image on macOS.
Just clicking the uninstall button will uninstall the Docker Desktop and some files, but leave traces of supporting files. I have followed these steps to cleanly uninstall Docker on macOS.
In this article we will see about a simple step for removing the SQL Server container from Docker Desktop on macOS.
SQL Server on a Mac system: Here are the steps I have followed for setting up SQL Server on macOS using Docker Desktop community edition.
Here we will see about finding the stored procedures which are modified or created during a given date range.
Here I have given you a simple script to get the list of all indexes and index columns in a SQL Server database.
Here are couple of simple methods to get the list of all stored procedures created by the developers from a specific database in SQL Server.
Simple tip for converting Image to base64 encoded text in Visual Studio Code editor on macOS.
Solution for the error message “Msg 8134, Level 16, State 1, Line 7 Divide by zero error encountered” when performing division operation in SQL Server.
Here is simple method to find the MAX of multiple columns in SQL Server. Getting smallest or highest values from multiple columns.