Sql query get month from datetime -


i've got db invoices , datetime created, want have new columm name of month according date of each invoice. mean if date 2013-01-15, have " january" on new columm. in advance, i've few knowledge sql.

if database mysql, try:

date_format(date, '%m') 

Comments

Popular posts from this blog

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -