473,468 Members | 1,319 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Insert record from Access to Oracle

I am getting error code 3134 with the following INSERT statement:

If rst2!DED_RT_AMT 0 Then
mSQL = "INSERT INTO DELTEK_EMPL_DED_TEST "
mSQL = mSQL & "([EMPL_ID],"
mSQL = mSQL & "[DED_CD],"
mSQL = mSQL & "[S_DED_MTHD_CD],"
mSQL = mSQL & "[DED_RT_AMT],"
mSQL = mSQL & "[DED_ANN_CEIL_AMT],"
mSQL = mSQL & "[DED_PRIORITY_NO],"
mSQL = mSQL & "[DED_START_DT],"
mSQL = mSQL & "[MODIFIED_BY],"
mSQL = mSQL & "[TIME_STAMP],"
mSQL = mSQL & "[ROWVERSION)] "
mSQL = mSQL & "VALUES ('" & rst2!EMPL_ID & "',"
mSQL = mSQL & "'" & rst2!DED_CD & "',"
mSQL = mSQL & "'PCTGRS',"
mSQL = mSQL & rst2!DED_RT_AMT & ","
mSQL = mSQL & mCeiling & ","
mSQL = mSQL & mPriority & ","
mSQL = mSQL & "#" & Format(mDED_START_DT, "d-mmm-yyyy") &
"#,"
mSQL = mSQL & "'" & rst2!MODIFIED_BY & "',"
mSQL = mSQL & "#" & mTimeStamp & "#,"
mSQL = mSQL & 0 & ")"
a.writeline (mSQL)
a.Close
db.Execute mSQL, dbFailOnError
End If

I am reading an Access table and writing to an Oracle database. Don't
see any syntax errors. I suspect the date fields might be the
problem.

Thanks!
Ken
Mar 24 '08 #1
0 1414

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Victor M. | last post by:
Hello everyone. I am a newbie to Oracle 8 so please be patient and thanks for your time. The problem is the above mentioned error. I have two databases successully created using SQL*Plus 8.03....
3
by: Elliott | last post by:
I'm trying to perform this insert in a non-procedural environment: INSERT INTO table (column1, column2) SELECT :col1value, MAX(column2) + :count FROM table WHERE column1 = :col1value
4
by: DTB | last post by:
I am having trouble creating an INSTEAD OF trigger in SQL Server to replicate a BEFORE UPDATE trigger from ORACLE. Here is a sample of the ORACLE BEFORE UPDATE trigger: CREATE TRIGGER myTRIGGER ON...
2
by: mvr | last post by:
Hi all I are using IIS 5.0, Oracle 8.1. I am having problem with the following Insert Statement when used on Production Web server with SSL(https://...., Verisign). This doesn't occur...
2
by: Niraj | last post by:
Hi, I am trying to do bulk insert of binary data (array of bytes) in an Oracle table. The data type of the table is BLOB. I am using Oracle Objects for OLE (OO4O) in C++. The binary data that I...
0
by: htmlgeek | last post by:
I'm adding and updating records in an Access .mdb via WWW .asp page. Authored in Dreamweaver 2004 MX. Help is welcome on this one. I have a great set of pages that work fine, but it seems that...
8
by: Bri | last post by:
Greetings, I'm having a very strange problem in an AC97 MDB with ODBC Linked tables to SQL Server 7. The table has an Identity field and a Timestamp field. The problem is that when a new record...
6
by: rn5a | last post by:
During registration, users are supposed to enter the following details: First Name, Last Name, EMail, UserName, Password, Confirm Password, Address, City, State, Country, Zip & Phone Number. I am...
10
by: MLH | last post by:
Suppose, in a multi-user environment, you have append query SQL in a VBA procedure that looks like INSERT INTO MyTable... and the next line reads MyVar=DMax("","MyTable... You can never be...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.