Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle
|
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 15th, 2007, 08:23 AM
Authorized User
 
Join Date: Jun 2004
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default MSAccess pass-through query to Oracle ODBC

I connected to an ORACLE ODBC using MS Access. I am creating pass-through queries in MS Access. I understand that the SQL used in MS Access is different from ORACLE SQL. All I want my query to due is return rows that are within a certain date range. This is my current SQL code:

SELECT PLAZA_ID, PLAZA_DESCR, UPDATE_TIMESTAMP
FROM PLAZA WHERE UPDATE_TIMESTAMP BETWEEN DATE '2007-05-12 09:00:00' AND DATE '2007-06-12 12:00:00'

I get the following error:

[Oracle][ODBC][RBD]%SQL-F-CONERR, Data connection error for string '2007-05-12 09:00:00' -COSI-F-IVTIME, invalid date or time (#-1)

My documentation states that the UPDATE_TIMESTAMP field is of the datatype DATE VMS.

Someone please help.

Julio Cesar

-"Bueller.......... Bueller.......... Bueller.......... Bueller.........."
__________________
Julio Cesar

-\"Bueller.......... Bueller.......... Bueller.......... Bueller..........\"
 
Old June 15th, 2007, 08:43 AM
Authorized User
 
Join Date: Jun 2004
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default

by the way, the relational database management system is ORACLE RDB.

Julio Cesar

-"Bueller.......... Bueller.......... Bueller.......... Bueller.........."





Similar Threads
Thread Thread Starter Forum Replies Last Post
ODBC connections to Oracle 8i GuidoDB SQL Server 2000 1 January 23rd, 2007 03:17 PM
ODBC DSN connection to Oracle Vera Classic ASP Databases 1 December 15th, 2006 10:13 AM
Microsoft ODBC for Oracle amjad_mahmood VB Databases Basics 1 August 22nd, 2005 10:33 AM
Oracle ODBC tracing raekism Oracle 0 February 28th, 2005 02:42 AM
Using a Pass-Through Query to call an Oracle SP Richelou Access VBA 1 September 17th, 2004 04:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.