incagold
Programmer
- Mar 21, 2003
- 54
Hi everyone,
Newbie back with another problem. This one is rather urgent. The problem is we have an Append Query that selects the proper number of records from the source table but does not append all of them to the destination table. We have no constraints of any kind on the destination table. What can we be doind wrong? Below is the sql for the query. Any help or advice you can provide would be greatly appreciated. Thanks in advance for your reply.
BEF
INSERT INTO PT ( MTD, BLOCK, MTDP, TDP, PART_NO, NHA, SER_NO, SITE_NO, DESCRIPTION, CROSS_REF, COMM_CD, QTY, BOE, F_COST, Q_SUBMIT_DT, INSTALL_DT, LEAD_TIME, LEAD_TIME_INT, WO_NO, PART_NOTES, VAR_REASON, TRN, TRN_C, BREF )
SELECT PT_DATA.MTD, PT_DATA.BLOCK, PT_DATA.MTDP, PT_DATA.TDP, PT_DATA.PART_NO, PT_DATA.NHA, PT_DATA.SER_NO_1, PT_DATA.SITE_NO_1, PT_DATA.DESCRIPTION, PT_DATA.CROSS_REF, PT_DATA.COMM_CD, PT_DATA.SER_NO_QTY_1, PT_DATA.BOE_1, PT_DATA.F_COST_1, PT_DATA.Q_SUBMIT_DT_1, PT_DATA.INSTALL_DT_1, PT_DATA.LEAD_TIME, PT_DATA.LEAD_TIME_INT, PT_DATA.WO_NO_1, PT_DATA.PART_NOTES, PT_DATA.VAR_REASON, PT_DATA.TRN_1, PT_DATA.TRN_C_1, PT_DATA.BREF_1
FROM PT_DATA
WHERE (((PT_DATA.SER_NO_1)='SN1'))
ORDER BY PT_DATA.MTD, PT_DATA.PART_NO;
Newbie back with another problem. This one is rather urgent. The problem is we have an Append Query that selects the proper number of records from the source table but does not append all of them to the destination table. We have no constraints of any kind on the destination table. What can we be doind wrong? Below is the sql for the query. Any help or advice you can provide would be greatly appreciated. Thanks in advance for your reply.
BEF
INSERT INTO PT ( MTD, BLOCK, MTDP, TDP, PART_NO, NHA, SER_NO, SITE_NO, DESCRIPTION, CROSS_REF, COMM_CD, QTY, BOE, F_COST, Q_SUBMIT_DT, INSTALL_DT, LEAD_TIME, LEAD_TIME_INT, WO_NO, PART_NOTES, VAR_REASON, TRN, TRN_C, BREF )
SELECT PT_DATA.MTD, PT_DATA.BLOCK, PT_DATA.MTDP, PT_DATA.TDP, PT_DATA.PART_NO, PT_DATA.NHA, PT_DATA.SER_NO_1, PT_DATA.SITE_NO_1, PT_DATA.DESCRIPTION, PT_DATA.CROSS_REF, PT_DATA.COMM_CD, PT_DATA.SER_NO_QTY_1, PT_DATA.BOE_1, PT_DATA.F_COST_1, PT_DATA.Q_SUBMIT_DT_1, PT_DATA.INSTALL_DT_1, PT_DATA.LEAD_TIME, PT_DATA.LEAD_TIME_INT, PT_DATA.WO_NO_1, PT_DATA.PART_NOTES, PT_DATA.VAR_REASON, PT_DATA.TRN_1, PT_DATA.TRN_C_1, PT_DATA.BREF_1
FROM PT_DATA
WHERE (((PT_DATA.SER_NO_1)='SN1'))
ORDER BY PT_DATA.MTD, PT_DATA.PART_NO;