select fra en tabel hvor kolonne typen user defineret
Er der nogen der kan fortælle mig hvordan jeg selecter fra denne tabel, jeg har behvo for at lave en like på REPORTACKNOWLEDGMENT kolonnen for at søge efter en bestemt strengtabel definitionen kan ses nedenunder:
CREATE TABLE SAFETYREPORT (
REPORT_ID NUMBER NOT NULL,
SAFETYREPORTID VARCHAR2 (100),
SAFETYREPORTVERSION VARCHAR2 (2),
PRIMARYSOURCECOUNTRY VARCHAR2 (2),
OCCURCOUNTRY VARCHAR2 (2),
TRANSMISSIONDATEFORMAT NUMBER (3),
TRANSMISSIONDATE NUMBER (8),
REPORTTYPE NUMBER (1),
SERIOUS NUMBER (1),
SERIOUSNESSDEATH NUMBER (1),
SERIOUSNESSLIFETHREATENING NUMBER (1),
SERIOUSNESSHOSPITALIZATION NUMBER (1),
SERIOUSNESSDISABLING NUMBER (1),
SERIOUSNESSCONGENITALANOMALI NUMBER (1),
SERIOUSNESSOTHER NUMBER (1),
RECEIVEDATEFORMAT NUMBER (3),
RECEIVEDATE NUMBER (8),
RECEIPTDATEFORMAT NUMBER (3),
RECEIPTDATE NUMBER (8),
ADDITIONALDOCUMENT NUMBER (1),
DOCUMENTLIST VARCHAR2 (100),
FULFILLEXPEDITECRITERIA NUMBER (1),
COMPANYNUMB VARCHAR2 (100),
AUTHORITYNUMB VARCHAR2 (100),
OTHERNUMB VARCHAR2 (100),
DUPLICATE NUMBER (1),
CASENULLIFICATION NUMBER (1),
NULLIFICATIONREASON VARCHAR2 (200),
REPORTACKNOWLEDGMENT REPORTACKNOWLEDGMENT_TY DEFAULT ESMUSER.reportacknowledgment_ty
(NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
MSG_ID NUMBER,
MEDICALLYCONFIRM NUMBER (1),
SENDER_AGENCY VARCHAR2 (100),
RECEIVER_AGENCY VARCHAR2 (100),
E2B_TYPE NUMBER,
CASE_XREF NUMBER,
STATUS NUMBER (3),
E2B CLOB DEFAULT EMPTY_CLOB(),
CONSTRAINT PK_SAFETYREPORT
PRIMARY KEY ( REPORT_ID )
USING INDEX
TABLESPACE ARGUS_DATA_01 PCTFREE 10
STORAGE ( INITIAL 49152 NEXT 262144 PCTINCREASE 0 ))
TABLESPACE ARGUS_DATA_01
PCTFREE 10
PCTUSED 40
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 49152
NEXT 262144
PCTINCREASE 0
MINEXTENTS 1
MAXEXTENTS 249
FREELISTS 1 FREELIST GROUPS 1 )
NOCACHE;
/