Useful tips for everyday
How to prevent duplicate data entry for two fields? If we don’t have a function to check it first then we may add a same…
How do you know if a parameter is NULL? To check if it is null, we call the isNull() method and pass the object getUserObject…
How can I add a unique key to an existing table? The syntax for creating a unique constraint using an ALTER TABLE statement in MySQL…
What is a field called in a relational database? In computer science, data that has several parts, known as a record, can be divided into…
How do you analyze the execution tree of a query plan? To read the SQL Execution Plan correctly, you should know first that the flow…
How do you assign a SQL query output to a variable in a shell script? SQL Query Returning Single Row (sqltest.sh) #!/bin/bash c_ename=`sqlplus -s SCOTT/tiger@//YourIP:1521/orcl…
What is the max concurrent MySQL connections on all the shared servers? HostGator allows a maximum of 25 simultaneous MySQL connections per cPanel on shared…
Can you use Max in WHERE clause? Use MAX() In Where Clause An expression of non-boolean type specified in a context where a condition is…
How do I query a SQL Agent job history? To view the job history log In Object Explorer, connect to an instance of the SQL…
What is XOR gate in Python? The Exclusive-OR Gate / XOR Gate is a combination of all the three basic gates (NOT, AND, OR gates).…