P pol Feb 26, 2009 #1 Please anybody can let me know to give the value as zero for null values eg: select nvl(salary,0) from salary; regards Polachan
Please anybody can let me know to give the value as zero for null values eg: select nvl(salary,0) from salary; regards Polachan
W Wayne-I-M Feb 26, 2009 #2 Is Null Or 0 in the criteria row, use it like this SELECT TableName.salary FROM TableName WHERE (((TableName.salary) Is Null Or (TableName.salary)=0));
Is Null Or 0 in the criteria row, use it like this SELECT TableName.salary FROM TableName WHERE (((TableName.salary) Is Null Or (TableName.salary)=0));
J Jeff Boyce Feb 26, 2009 #4 Check Access HELP for the exact syntax. I suspect you could use something like: Nz([YourField],0) Regards Jeff Boyce Microsoft Office/Access MVP
Check Access HELP for the exact syntax. I suspect you could use something like: Nz([YourField],0) Regards Jeff Boyce Microsoft Office/Access MVP
C Clif McIrvin Feb 26, 2009 #5 pol said: Please anybody can let me know to give the value as zero for null values eg: select nvl(salary,0) from salary; regards Polachan Click to expand... select NZ(salary,0) from salary;
pol said: Please anybody can let me know to give the value as zero for null values eg: select nvl(salary,0) from salary; regards Polachan Click to expand... select NZ(salary,0) from salary;