CREATE USER Syntax | Teradata Vantage - 17.10 - CREATE USER Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1144-171K
Language
English (United States)
CREATE USER user_name [ FROM database_name ] AS
  { PERMANENT | PERM } = n [BYTES] [ skew_specification ] [,]
  PASSWORD = temp_password [,]
  [ user_attribute [[,]...] ] [;]
skew_specification
SKEW = { constant_expression | DEFAULT } [PERCENT]
user_attribute
{ STARTUP = 'string;' |

  { TEMPORARY | SPOOL } = { n | constant_expression } [BYTES] [ skew_specification ] |

  DEFAULT DATABASE = database_name |

  COLLATION = collation_sequence |

  ACCOUNT = { 'account_string' | ( 'account_string' [,...] ) | NULL } |

  DEFAULT MAP = { map_name | NULL } [ OVERRIDE [NOT] ON ERROR ] |

  [NO] FALLBACK [PROTECTION] |

  [ NO | DUAL ] [BEFORE] JOURNAL |

  [ NO | DUAL | [NOT] LOCAL ] AFTER JOURNAL |

  DEFAULT JOURNAL TABLE = [ database_name. ] table_name |

  TIME ZONE = { LOCAL | [ sign ] 'quotestring' | 'time_zone_string' | NULL } |

  DATEFORM = { INTEGERDATE | ANSIDATE | NULL } |

  DEFAULT CHARACTER SET server_character_set |

  DEFAULT ROLE = { role_name | NONE | NULL | ALL } |

  PROFILE = { profile_name | NULL } |

  TRANSFORM ( transform_specification [,...]) |

  DBA |

  CONSTRAINT = constraint [,...] |

  EXPORTWIDTH { 'export_definition_name' | DEFAULT }
}
transform_specification
data_type = group_name
constraint
row_level_security_constraint_column_name {
  ( { level_name [DEFAULT] | category_name } [,...]) |
  (NULL)
}