sql - difficulty in entering correct script for dateformat -


this query

select fullname, rank, id_no, tin, birthdate, hair, eyes, blood, height, weight, marks, name, address [******_domain\****_*****].*******view 

i want change dateformat default yyyymmdd mm/dd/yyyy, i'm having difficulties writing correct script changing dateformat.

thanks in advance

use this

select convert(varchar,datecolumn,101) tablename 

3rd argument here supported format numeral.

for more info go here


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

c++ - Accessing inactive union member and undefined behavior? -

php - Get uncommon values from two or more arrays -