SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Date format in Oracle
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Trininole
Yak Posting Veteran

USA
77 Posts

Posted - 08/13/2012 :  11:01:13  Show Profile  Reply with Quote
How would i write the date format in Oracle using the dates between
June 6, 2012 and August 1, 2012??

Roger DeFour

lionofdezert
Aged Yak Warrior

Pakistan
864 Posts

Posted - 08/13/2012 :  11:15:20  Show Profile  Visit lionofdezert's Homepage  Send lionofdezert a Yahoo! Message  Reply with Quote
Sorry, but these are Microsoft SQL Server specific forums. In SQL Server,

SELECT * FROM yourTable WHERE MyDate BETWEEN '6/6/2012' AND '8/1/2012'

--------------------------
http://connectsql.blogspot.com/
Go to Top of Page

robvolk
Most Valuable Yak

USA
15567 Posts

Posted - 08/13/2012 :  11:15:42  Show Profile  Visit robvolk's Homepage  Reply with Quote
It would be better to ask on an Oracle forum: http://dbforums.com/

SQLTeam is a Microsoft SQL Server website.
Go to Top of Page

madhivanan
Premature Yak Congratulator

India
22469 Posts

Posted - 08/16/2012 :  08:43:14  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
quote:
Originally posted by Trininole

How would i write the date format in Oracle using the dates between
June 6, 2012 and August 1, 2012??

Roger DeFour


Oracle's default format is DD-MON-YYYY. So just input the dates in that format

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000