Null (SQL): Difference between revisions

Content deleted Content added
m Reverted edits by 97.83.16.5 (talk) to last version by Cedar101
Tag: Reverted
Line 33:
</syntaxhighlight>
 
This can lead to unanticipated results. For instance, when an attempt is made to divide Null by zero, platforms may return Null instead of throwing an expected "data exception{{snd}} division by zero".<ref name="SQL2003-Part2-Sec626"/> Though this behavior is not defined by the ISO SQL standard many DBMS vendors treat this operation similarly. For instance, the Oracle, PostgreSQL, MySQL Server, and Microsoft SQL Server platforms all return a Null result for the following:
 
<syntaxhighlight lang="sql">