|
Try one of these: 1. give more attention to SQL error messages 2. check if your "NULL" field in ps_tw_dtl_gl_tmp file allows NULLs (in DDS it should be accompanied with ALWNULL keyword) 3. maybe there is another cause of the problem Regards, Lukasz Mularz "jagbir singh" wrote: > > Hi All, > Hope someone can help on SQL. I am trying to insert a record with NULL in > the field and online SQL is not alloing me to do it. May be i am writing the > wrong statement. Pl help me out in this thing. Hope to hear from someone > soon..My SQL statement is as follows.. > > Insert into jtbtst/ps_tw_dtl_gl_tmp select > process_instance, seq_nbr, business_unit,currency_cd, cur_exchng_rt, > tw_account_apar, tw_account_cr, tw_account_dr,account_d, tw_detail_dt, > tw_defacct_ptr, tw_def_timing, statistics_code, tw_act_amt, act_units, ' ', > ' ', ' ', ' ', tw_atlas_id, batch_num,' ', null,'2000-08-04', '', from > jtbbprd/ps_tw_detail where process_instance = '95045' > > Pl reply soon. > Thanks > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > +--- > | 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 > +--- > > +--- | 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-2025 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.