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

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -