About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Last updated: Dec 13, 2024
Check the Postgres, Db2 statements for the tables that are related to user profiles.
Subject area | Table name | Description |
---|---|---|
User Profiles | user_profiles | A list of all the users of a catalog or project. |
user_profiles table
This table has the following columns:
- The identifier for the user.user_id
- The name of the user.user_name
- What name is displayed for the user.display_name
- User's first name.first_name
- User's last name.last_name
- User's email.email
Postgres
CREATE TABLE statement:
CREATE TABLE user_profiles(user_id varchar(128) NOT NULL,user_name varchar(256),display_name varchar(256),first_name varchar(256),last_name varchar(256),email varchar(256),tech_start TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP,tech_end TIMESTAMP(6) NOT NULL DEFAULT to_timestamp('9999-12-30','YYYY-MM-DD'),ts_id TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY(user_id))
Db2
CREATE TABLE statement:
CREATE TABLE user_profiles(user_id varchar(128) NOT NULL,user_name varchar(256),display_name varchar(256),first_name varchar(256),last_name varchar(256),email varchar(256),tech_start TIMESTAMP(12) NOT NULL IMPLICITLY HIDDEN GENERATED ALWAYS AS ROW BEGIN,tech_end TIMESTAMP(12) NOT NULL IMPLICITLY HIDDEN GENERATED ALWAYS AS ROW END,ts_id TIMESTAMP(12) NOT NULL GENERATED ALWAYS AS TRANSACTION START ID, PRIMARY KEY(user_id), PERIOD SYSTEM_TIME (tech_start,tech_end) ) ORGANIZE BY ROW
Learn more
Parent topic: Reporting tables