Convert NULL value
SELECT EMPLOYEE_NAME, SALARY*12 + NVL(COMM, 0) ANNUAL_SALARY
FROM EMPLOYEE;
SELECT NVL(LastModifiedDate, '2009-01-01')
FROM ACCOUNT;
SELECT NVL(REVENUE, 0)
FROM ACCOUNT;
SELECT NVL(BILLING_ADDRESS, 'DBA')
FROM ACCOUNT;
SQL Server: ISNULL(BILLING_ADDRESS, 'DBA');
Sunday, April 5, 2009
NVL
at 7:51 PM
Labels: Oracle, Oracle Query, PL/SQL
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment