Questions tagged as 'oracle'

1
answer

php echo of html tag as text

I have a query in php / oracle that hides a "" tag while displaying the result in the browser while in oracle sql developer displays everything ok. Expected: '
asked by 25.11.2015 / 15:09
1
answer

INNER JOIN Performance in SQL

Hello, could anyone tell me if there is any significant performance difference in the two ways of doing INNER JOIN below? Way 1: SELECT column_name(s) FROM table1 INNER JOIN table2 ON table1.column_name=table2.column_name; Way 2: SELEC...
asked by 17.12.2015 / 19:42
1
answer

Field alias in oracle where clause

I have a Decode in my select like so: ..... DECODE(MAT.IND_TIPO_MAT_MED, '1', 'BRASINDICE', '2', 'SIMPRO', '9', 'TABELAPROPRIA') TIPOTABELA, ..... I need to pass these values on the where clause, sinc...
asked by 13.01.2016 / 13:49
2
answers

PECL / PHP PDO_OCI extension obsolete. How to proceed?

I need to install the pdo_oci PHP extension to work with Oracle database via PDO. However, I noticed that the extension available via PECL is deprecated and will no longer be maintained. As I understand this link (I do not know if I under...
asked by 27.06.2015 / 19:37
1
answer

Error ORA-01460 in Oracle

I have the procedure below: PROCEDURE GRAVA_(P_IMEI_DISPOSITIVO IN NVARCHAR2, P LONG, P_DET LONG, RETORNO_OPERACAO OUT VARCHAR2) In th...
asked by 20.01.2015 / 14:04
1
answer

Delete in the table via Shell Script

I'm trying to do a delete of all rows from a table via Shell Script. The database is oracle. The bank for some reason does not let me do truncate and the delete simply does not delete, without presenting any error. I do not really know why, when...
asked by 24.05.2014 / 00:29
1
answer

Stored Procedure with low performance

I have a problem with Oracle, where I have two procedures that are executed one after the other. Where in the first procedure , I have a cursor that makes insert in a table. This insert has approximately 30 million records , which...
asked by 21.10.2014 / 15:09
3
answers

IF condition within a WHERE - ORACLE PL / SQL

Here is the procedure with the problem: CREATE OR REPLACE PROCEDURE NOVODIA.PRC_PACIENTES_INATIVOS_95 ( --PARAMETROS IN_CPF IN VARCHAR2, IN_CARTAO IN VARCHAR2, OUT_CURSOR OUT SYS_REFCURSOR ) IS --VARIAVEIS V_COD_CLIEN...
asked by 24.04.2014 / 17:10
1
answer

Conditional to print in PL / SQL

I have a report developed in Sybase InfoMaker (similar to Crystal Reports) which displays two pages, however I need to print the second page only if there is a calculation. On the second page you see several calculations, but if the report (p...
asked by 19.04.2014 / 17:55
1
answer

Oracle connect identifier problem is too long

I have the following problem, first the configuration of my PC.    SO: Fedora 20       PHP 5.5       Oracle Instant Client: 11.2.0.4.0 I try to connect via tnsnames.ora file settings and the following error occurs ORA-12169: TNS:Net s...
asked by 07.02.2014 / 12:57