Solved

Convert from Sybase to Oracle

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Working with SharePoint Data 8 62
constraint check 2 48
Foxpro errors 4 42
Question about DB Schema 27 61
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
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…

828 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