I am creating a table in oracle.
I have condition that data should be present at least one of columns and both columns cannot be empty.
CREATE TABLE testaccount
(
request VARCHAR2 (2048 BYTE) NOT NULL,
response1 CLOB,
response2 CLOB,
CONSTRAINT pk_testaccount PRIMARY KEY
(request)
);
Response1 and Response2 both cannot be null. Data must be there in one of the columns
Any condition to add it in oracle.