Solved

Convert from Sybase to Oracle

Posted on 2006-07-11
2
918 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Many to Many From without subform 11 81
Need a mirrored QA test site 2 93
comparing two rows 10 40
When are cursors useful? 8 61
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
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…

739 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