|
I can think of a kludge that would work. Replace all the NULLS with 0001-01-01 (which is *LOVAL for *ISO dates which is what we use on our AS/400 to be a NULL) and then import it. You would probably want to copy this to another file first though so you don't get invalid dates in your SQL database. Regards, Jim Langston Gade_R_Reddy@consecofinance.com wrote: > Hello everybody. > > Got a question about the field data types.. > I have Nulls in integer fields and in date fields on the Sql server > table. Now i need to export this data to AS400 physical file, but AS400 > unfortunately doesn't accept the NULLS in integer fields and Zeros in > the date fields. > > Any suggestions how do i go for it. > > Thanks Guys. > > Gade. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.