We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Function Ticket_id (s_id IN NUMBER) RETURN VARCHAR2 IS p_id varchar2(2); strmonth varchar2(6); retval varchar2(15); begin select id_prefix into p_id from ticket_types_tty where t_type_id=s_id; select TO_CHAR(sysdate,'yyyymm') into STRMONTH from DUAL; select (p_id||strmonth||seq_a.nextval) into retval from Ticket_tab where ticket_id like '%'||strmonth||'%%'; return retval; END ticket_id;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.