Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
In this article I will describe the Backup & Restore 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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

773 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