Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Reg:What is the actuval format for giving the date value to sql server table?.....

$
0
0

Hi Team,

can i know how sql server vaidate given value for the datetime column is suite or not ?

when i run the 

SELECT GETDATE() command,

it gives the output as 2018-10-18 14:35:02.080.

that is (year-month-date).

But when i run the following query in sql server

dbcc useroptions()

it gives the following output:

that is mdy.

is there is any relationship between these two.

please provide your valuable information.

Thanks In Advance.


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>