conversion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
conversion [2016/03/09 12:21]
dmtolpeko
conversion [2016/04/13 14:12]
dmtolpeko [SQL SELECT Statement]
Line 44: Line 44:
 | NUMBER | DECIMAL | | NUMBER | DECIMAL |
  
 +For more details, see [[/​data-types#​data_type_conversion|Data Type Conversion]].
 ===== Language Elements and Operators ===== ===== Language Elements and Operators =====
  
Line 50: Line 51:
 | **Source** || **Hive SQL** | | **Source** || **Hive SQL** |
 | "​identifier",​ [identifier] | Identifier | `identifier` |  | "​identifier",​ [identifier] | Identifier | `identifier` | 
 +| dbo, [dbo] | Schema name | Removed |
 | [[twopipes|expr || expr2 || ...]] | String concatenation | [[concat|CONCAT(expr,​ expr2, ...)]] | | [[twopipes|expr || expr2 || ...]] | String concatenation | [[concat|CONCAT(expr,​ expr2, ...)]] |
  
Line 68: Line 70:
 | **Source** || **Hive SQL** | | **Source** || **Hive SQL** |
 | SELECT TOP n ... FROM ... | Row limit | SELECT ... FROM ... LIMIT n | | SELECT TOP n ... FROM ... | Row limit | SELECT ... FROM ... LIMIT n |
-| SELECT without FROM || FROM [[configuration#​hplsqldualtable|hplsql.dual.table]] added for Hive 0.13 and earlier | 
 | FROM TABLE (VALUES ... ) clause | Row constructor | SELECT UNION ALL subquery | | FROM TABLE (VALUES ... ) clause | Row constructor | SELECT UNION ALL subquery |
  
Line 78: Line 79:
  
 | **Source** || **Hive SQL** | | **Source** || **Hive SQL** |
 +| DELETE FROM //table// ALL || TRUNCATE TABLE //table// |
 | [[set-session#​current-schema|SET CURRENT SCHEMA = name]] || [[use|USE name]] | | [[set-session#​current-schema|SET CURRENT SCHEMA = name]] || [[use|USE name]] |