Data cleaning: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
m (Planetoid移動Data cleansing頁面至Data cleaning)
No edit summary
Line 1: Line 1:
== is null ==
Finds whether a variable is NULL
Finds whether a variable is NULL
* PHP [http://tw2.php.net/is_null is_null]
* PHP [http://tw2.php.net/is_null is_null]
Line 4: Line 6:
** [https://support.google.com/drive/answer/3093348 ISERR(value)] " value - The value to be verified as an error type other than #N/A." ex: {{kbd | key = #NULL!}}
** [https://support.google.com/drive/answer/3093348 ISERR(value)] " value - The value to be verified as an error type other than #N/A." ex: {{kbd | key = #NULL!}}
** If the value is exactly {{kbd | key = NULL}} not {{kbd | key = #NULL!}}, You may use {{kbd | key = <nowiki>EXACT(value, "NULL")</nowiki>}}
** If the value is exactly {{kbd | key = NULL}} not {{kbd | key = #NULL!}}, You may use {{kbd | key = <nowiki>EXACT(value, "NULL")</nowiki>}}
* MySQL {{kbd | key = SELECT * FROM table WHERE column IS NULL;}}<ref>[http://dev.mysql.com/doc/refman/5.0/en/working-with-null.html MySQL :: MySQL 5.0 Reference Manual :: 3.3.4.6 Working with NULL Values]</ref>


== references ==
<references/>


[[Category:Spreadsheet]]
[[Category:Spreadsheet]]

Revision as of 18:28, 8 January 2014

is null

Finds whether a variable is NULL

  • PHP is_null
  • Google spreadsheet:
    • ISERR(value) " value - The value to be verified as an error type other than #N/A." ex: #NULL!
    • If the value is exactly NULL not #NULL!, You may use EXACT(value, "NULL")
  • MySQL SELECT * FROM table WHERE column IS NULL;[1]


references