SAS/Oracle Date Problem

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Thread Solved

Join Date: Mar 2005
Posts: 192
Reputation: stupidenator is an unknown quantity at this point 
Solved Threads: 4
stupidenator's Avatar
stupidenator stupidenator is offline Offline
Junior Poster

SAS/Oracle Date Problem

 
0
  #1
Mar 22nd, 2007
Hi everyone,

I am still fairly new to SAS programming and I have somewhat of a problem. I am writing a program that will input a Microsoft Excel Spreadsheet and convert it to a SAS dataset. From there, I want to insert everything in that dataset into a table in an oracle database. Here is the error I am getting in the log:
ERROR: Value 12 on the SELECT clause does not match the data type of the corresponding column listed after the INSERT table name.

Value 12 on the SELECT Clause is supposed to be a date. Right now, I have it as a 10 byte character type in the form mmddyyyy (e.g. 09091986). I am trying to insert this into the oracle table, into a date column but I cannot seem to figure out how to properly format the data so that it will go into the database. Any help is greatly appreciated.

Thanks,
Nick
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Computer Science Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC