Databases| SQL| MySQL| Questions? | Software Development
 

Mysql Date Default

Date Default in Mysql is used to return the current date and time.

Mysql Date Default

                         

Date Default in Mysql is used to return the current date and time.

Understand with Example

The Tutorial illustrate an example from Date Default in Mysql. To grasp this example, we use current_timestamp ( ) query that return the current database system timestamp as a datetime value.

Query:-

 

 

 

 

 

mysql> select current_timestamp()as Defaultdate;

Output:-

+---------------------+
| Defaultdate |
+---------------------+
| 2008-12-19 16:31:30 |
+---------------------+
1 row in set (0.00 sec)

 

                         

» View all related tutorials
Related Tags: sql mysql c orm form time make format display value this create for ie example values exam e it mms

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
 
Tell A Friend
Your Friend Name

 

 
Recently Viewed
Software Solutions
Search Tutorials

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.