Beruflich Dokumente
Kultur Dokumente
SELECT CURDATE();
SELECT CURRENT_DATE();
SELECT CURTIME();
SELECT CURRENT_TIME();
We can grant rights on all databse by usingh *.* or some specific database by database.*
or a specific table by database.table_name
We can grant rights on all database by using *.* or some specific database by database.*
or a specific table by database.table_name.
How can we encrypt and decrypt a data present in a mysql table using mysql?
AES_ENCRYPT() and AES_DECRYPT()
How can we know the number of days between two given dates using MySQL?
Use DATEDIFF()
SELECT DATEDIFF(NOW(),'2006-07-01');
How can we change the name of a column of a table?
This will change the name of column:
In how many ways we can retrieve data in the result set of MYSQL using PHP?
mysql_fetch_array - Fetch a result row as an associative array, a numeric array, or both
mysql_fetch_assoc - Fetch a result row as an associative array
mysql_fetch_object - Fetch a result row as an object
mysql_fetch_row ?- Get a result row as an enumerated array