← nvl operator page · conditional/nvl/sc_sc/null_first_operand
pandas ✅ · DuckDB ✅
nvl ( null, SC_1 ) with SC_1 = 0: a null first operand on scalars.
Nvl: "nvl ( null, 0 ) returns 0".
SC_r = 0, an Integer: op1 is null, so the result is op2.
SC_r := nvl ( null, SC_1 );
| SC_1 |
|---|
| 0 |
{
"scalars": [
{"name": "SC_1", "type": "Integer"}
]
}
{
"scalars": [
{"name": "SC_r", "type": "Integer", "value": "0"}
]
}