I would like to have some suggestions on how to display all the CONSTRAINTs of a created table in SQL.
I created a table:
CREATE TABLE ACCOUNT(
USERNAME VARCHAR(15) UNIQUE,
PASSWORD VARCHAR(15),
CONSTRAINT ACCOUNT_UNIQUE UNIQUE(USERNAME),
CONSTRAINT ACCOUNT_PK PRIMARY KEY(USERNAME,PASSWORD)
I would like to discover these constraints because when I do / or RUN command in the SQL command line, I can't display those constraints anymore.
Is there a way to display all the CONSTRAINTs for the table ACCOUNT?