Questions tagged as 'oracle'

1
answer

About Trigger in postgres

Well, I have a problem with the following: I want to do a table partitioning in postgres because a table has zillions of records and it takes a long time to fetch it (this table tends to grow considerably in the coming months) and a solution tha...
asked by 12.03.2016 / 19:18
0
answers

Oracle Subquery (bring the 6 minors)

Hi, can anyone give me a hand? I have the structure below, it returns 4 columns, I need to get 6, but I got lost in the "hit < >" SELECT DATA, NVL( (SELECT MIN(MINTOTIME(BATIDA,':')) FROM ABATFUN B...
asked by 27.02.2016 / 14:58
2
answers

Error when inserting in batch using OracleCommand

I need to optimize a load application that runs through a database and writes to another database, but that has to be done through a Windows Forms application. I am doing this using ArrayBindCount of OracleCommand , but it is retu...
asked by 15.01.2016 / 17:09
0
answers

PHP and Oracle Error - oci_execute

I have a packcage with the following SP: procedure sp_WEB_PECAS_OBJTV_LOJA( pPECAS_OBJTV_LOJA_ID in WEB_PECAS_OBJTV_LOJA.PECAS_OBJTV_LOJA_ID%type, pPECAS_OBJTV_LOJA_COD_EMP in WEB_PECAS_OBJTV_LOJA.PE...
asked by 29.12.2015 / 21:18
0
answers

ORA-00922 error in table creation in apex 5

I'm trying to create a table in apex5 with reference, having a foreign key from another table and having that foreign key column be populated. But creating is returning the error:    ORA-00922: missing or invalid option I've already check...
asked by 26.02.2016 / 18:27
1
answer

Group function does not work

I have two tables. Table: Pedido Columns: IDPEDIDO , CLIENTE , DT_PEDIDO , FORMA_PGMT , CLIENTE_ID . Table: Itens_Pedido Columns: PEDIDO_ID , QT_MERCADORIAS , MERCADORI...
asked by 05.12.2015 / 20:22
1
answer

create view php / oracle

I want to generate a view through php for an oracle database where the select is done through the result of another query. This query mounts the select to the view: $sql1 = "SELECT TESTE FROM VIEW_TESTE"; $result1 = odbc_exec($conOraSql , $...
asked by 25.11.2015 / 18:06
0
answers

Selecting sets of JPA values

I have the following problem: I have a table with a list of values for a composite key. Here's an example: ID | ItemCode | Localidade | Preco ---+----------+------------+------- 01 | 001 | 001 | 3.5 02 | 002 | 001...
asked by 26.10.2015 / 19:09
1
answer

View the complete list of tables in an Oracle connection with Entity

As I do for a connection to the Oracle database, show all tables. I made a connection and I have more than 500 tables in the database and it only shows 74, the three that I need to mount the POC I'm doing, I can not map them. see the tables t...
asked by 05.11.2015 / 18:11
0
answers

Passing xml as a parameter to a proc is returning null

My xml may be wrong, of course. but as I'm not sure, I say: I need to pass a parameter via programming to a proc. As in my program it is coming null, I have decided to run first manually straight into pl / sql and still nothing comes. The xml mo...
asked by 08.12.2015 / 11:58