datetime - How to input dd-mm-yyyy h:m:s values in SQL Server 2008 R2 -


i want create table in sql server 2008 r2 column periodenddate should take values in format

 20-07-2014 00:00:00   

e.g.

 dd-mm-yyyy h:m:s 

please help.

thanks! sonia

datetime friend.

create table table1 ( id_ws_audit_msg      bigint               identity, logged_user          nvarchar(40)         not null, ws_name              varchar(256)         null, event_time           datetime             null 

....


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -