Solved

How do you check the current date format of an SQL Server 2005 database?

Posted on 2008-06-26
6
2,324 Views
Last Modified: 2012-06-27
How do you check the current date format of a SQL Server 2005 database?
0
Comment
Question by:rbtt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 250 total points
ID: 21876210
Hello rbtt,

dbcc useroptions  

and check for the dateformat

GOD BLESS,

Aneesh R.
0
 

Author Comment

by:rbtt
ID: 21876294
I am new to MS SQL Server 2005.

How do I check DBCC user options?
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 21876321
ohh... that's a single statement, must be run on a new query window

DBCC USEROPTIONS

0
 

Author Comment

by:rbtt
ID: 21876586
I see it  as : mdy

does that necessarily mean mm--dd--yyyy or could it be another day,month,year format?
0
 
LVL 60

Assisted Solution

by:chapmandew
chapmandew earned 250 total points
ID: 21876726
yep, that is what it means.

do this to make sure:

select getdate()  

it should return it in that format.
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Analysis of table use 7 68
Error when saving to sql table a '/' 5 32
tempdb log keep growing 7 56
Replication failure 1 32
by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question