Hi everyone,
I have a query name Qnull which suppose to put values in the filed as Zero if null
the SQL is
UPDATE sbicmp SET sbicmp.CGHS = 0, sbicmp.IT = 0, sbicmp.CGIES = 0, sbicmp.GST = 0, sbicmp.RENT = 0, sbicmp.MISC = 0
WHERE (((sbicmp.CGHS) Is Null)) OR (((sbicmp.IT) Is Null)) OR (((sbicmp.CGIES) Is Null)) OR (((sbicmp.GST) Is Null)) OR (((sbicmp.RENT) Is Null)) OR (((sbicmp.MISC) Is Null));
sbicmp.MISC is the new file i have added after that
whenever i fired the query all the fields value becomes zero respective of having values other than null
any soloution.
I have a query name Qnull which suppose to put values in the filed as Zero if null
the SQL is
UPDATE sbicmp SET sbicmp.CGHS = 0, sbicmp.IT = 0, sbicmp.CGIES = 0, sbicmp.GST = 0, sbicmp.RENT = 0, sbicmp.MISC = 0
WHERE (((sbicmp.CGHS) Is Null)) OR (((sbicmp.IT) Is Null)) OR (((sbicmp.CGIES) Is Null)) OR (((sbicmp.GST) Is Null)) OR (((sbicmp.RENT) Is Null)) OR (((sbicmp.MISC) Is Null));
sbicmp.MISC is the new file i have added after that
whenever i fired the query all the fields value becomes zero respective of having values other than null
any soloution.
Last edited: