Questions tagged as 'pl-sql'

0
answers

Error executing a trigger ORA-04092: Unable to trigger

I have the following problem: - I can not execute a job (Scheduling) after an insert retrieved by the trigger.    Line 2: ORA-04092: Not possible on a trigger ORA-06512: in   "SYS.DBMS_ISCHED", line 135 ORA-06512: under "SYS.DBMS_SCHEDULER"...
asked by 20.07.2018 / 16:29
0
answers

Oracle conversion error

I have a problem: when I run a function direct on the database, no problem occurs but when I run in php , this error occurs:    ORA-06502: PL / SQL: numeric or value error: character to number conversion error The problem is...
asked by 29.06.2018 / 19:51
0
answers

APEX - How to save a PDF file locally using PL / SQL?

I have an APEX application from Oracle, and would like to make the option to generate a PDF file from the page database and save it to the machine. Is it possible to do this using PL / SQL?     
asked by 25.06.2018 / 19:44
1
answer

REGEX - How do I search for expressions that DO NOT contain a specific part?

I'm working with PL / SQL. Through REGEX, how do I find all expressions that are different from: <cod_orgao_destino>9577</cod_orgao_destino> Thank you!     
asked by 11.06.2018 / 21:59
0
answers

Oracle Package SMTP, validate domain

I want to know how I can: validate domain using Oracle Package SMTP; Can I validate a domain or even an email without having to send a email ? I want to use an action close to "ping" to answer the question. Thank y...
asked by 11.05.2018 / 20:49
0
answers

Problems with Enconding Character - Oracle

Hello, I have a base oracle and when I make a select of a specific field the information that returns has accentuation, ex: "RECEPTION" But when I save this information in a text file using the UTL_FILE.PUT_LINE (FIELD) the information in the...
asked by 21.05.2018 / 22:10
2
answers

Replace a CASE with a SELECT and a JOIN? [closed]

SELECT DISTINCT P.CD_PACIENTE , P.NM_PACIENTE , DECODE (P.TP_SEXO, 'M', 'MASCULINO', 'F', 'FEMININO', 'I', 'INDEFINIDO') SEXO , TRUNC(P.DT_NASCIMENTO) DT_NASCIMENTO , (SELECT FN_...
asked by 04.05.2018 / 14:48
1
answer

How to create a Registration vector in PLSQL

I have a record of TYPE trec IS RECORD ( cd_multi_empresa NUMBER(8,2), tp_atendimento CHAR(2) ); vcAtendimento trec; I need a registry vector, I used this and command: TYPE TcAtendimento IS VARRAY(10) OF vcAt...
asked by 10.05.2018 / 23:24
0
answers

Using record with schemas in PLSQL

I'm using a record to store data: TYPE TvcAtendimento IS RECORD( CD_ESPECIALIDADE DsSch.especialid.cd_especialid%type, CD_MULTI_EMPRESA DsSch.multi_empresas.cd_multi_empresa%type, TP_ATENDIMENTO DsSch.atendime.tp_atend...
asked by 10.05.2018 / 20:43
0
answers

Inspect collections pl sql developer

Good afternoon, I'm using the PL / SQL developer tool, and in debugging I want to check the contents of a collection in oracle. I saw that you have an option (when right-clicking) "View Collection variable", but I was not successful, becau...
asked by 18.04.2018 / 19:49