Questions tagged as 'oracle'

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
0
answers

Exception ThreadAbortException Oracle and Asp.net

I have a function that will get a generic sql to do an operation on the database, after sending the command, I have in the log is information "ThreadAbortException", does anyone know how to work around this problem? public static bool ExecutaC...
asked by 21.05.2018 / 16:19
0
answers

Oracle for Access

I need to pass an Oracle database to Access. However, my Access is 97, and only contains 999000 rows. My Oracle database has 12000000 lines How do I export Oracle to multiple Access files?     
asked by 07.05.2018 / 20:39
0
answers

Which Hibernate annotation to use for clob

I have an attribute that takes a string and must be persisted in a clob in the oracle sql. I looked in the documentation that should be used annotation @Lob:    @Lob indicates that the property should be persisted in a Blob or a   Clob, depen...
asked by 07.05.2018 / 05:39
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
1
answer

Example login with Oracle php

I'm having a hard time creating a login form using Oracle BD in MySQL and PostgreSQL works perfectly, I'm trying to use oci_num_rows <=0 , however the variable returns error, saying that Oracle waits 1, I can not understand, so If someo...
asked by 05.05.2018 / 01:37
0
answers

I'm having problems connecting the codeigniter on oracle

I have two problems setting up the oracle connection. A PHP Error was encountered Severity: Notice Message: Use of undefined constant OCI_COMMIT_ON_SUCCESS - assumed 'OCI_COMMIT_ON_SUCCESS' Filename: database/DB.php Line Number: 201 Backtr...
asked by 23.04.2018 / 19:51
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