?
Solved

Dreamweaver SQL statement

Posted on 2005-03-04
1
Medium Priority
?
197 Views
Last Modified: 2010-04-25
I have a web page connecting an Oracle db.  I'm using dreamweaver to develop this page. the problem is some data on the DB is stored in min from 1900 or so.. How can I convert that to a date in the dreamweaver sql statement.   in access I use dateadd("n",Totalmin,#12/31/1899#)

Thanks
0
Comment
Question by:moralju
[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
1 Comment
 
LVL 8

Accepted Solution

by:
alexhogan earned 2000 total points
ID: 13462548
Oracle will automatically convert to a date datatype when presented with a date formated string.

However if you wish to over ride that you can use;

TO_CHAR(b, 'YYYY/MM/DD')

Where;

SELECT TO_CHAR(b, 'MM/DD/YYYY') AS b
FROM x;

will return;

03/04/2005
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

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

777 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