Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now