using getdate() in sql server to get date as "27Aug13"? -


query below output required.

how can ouput 27aug13 in sql sever?

please suggest

the following have spaces:

select convert(varchar,getdate(),6) 

you can replace spaces:

select replace(convert(varchar,getdate(),6),' ','') 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -