Solved

Convert from Sybase to Oracle

Posted on 2006-07-11
2
921 Views
Last Modified: 2008-01-09
Hi,
 How do I convert these from Syabse to Oracle

convert(varchar(11),Low,108)

convert(varchar(11),High,108)

...... AND convert(varchar(11),T.OrderDate,103) = convert(varchar(11), CurrentDate ,103)
0
Comment
Question by:madmare
[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 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17079958
convert(varchar(11),Low,108)
reads
to_char(Low, 'HH24:MI:SS')

convert(varchar(11),Low,103)
reads
to_char(Low, 'DD/MM/YYYY')


0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 17079990
...... AND convert(varchar(11),T.OrderDate,103) = convert(varchar(11), CurrentDate ,103)
should read

trunc(orderdate) = trunc(currentdate)
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

626 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