Solved

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

Posted on 2008-06-26
6
2,323 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

735 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