Questions tagged as 'oracle'

1
answer

OCI8 in PHP 7 on Linux

I'm having a hard time ... I'm having a server running Debian and I installed Apache and PHP 7, but I'm having trouble activating the Oracle Oci8 connection, I followed this tutorial # Until all is ok, I did all the procedures but when I tested...
asked by 15.06.2016 / 21:20
1
answer

Procedure to increase return date

I have the following table: CREATE TABLE Emprestimo ( id int PRIMARY KEY, dataRetirada date DEFAULT current_date, dataPrevistaDevolucao date DEFAULT current_date + 7, dataDevolucao date, codigoUsuario int, codigoExemplar int, FOREIGN K...
asked by 23.04.2018 / 05:41
3
answers

Connect to oracle database via command line after installation

I installed the Oracle database, but I can not remember how I connect at the bank prompt. I think it's System connect "password". Someone corrects me, favor.     
asked by 28.10.2016 / 16:00
2
answers

Order table values by Day and Month

I have this Select below: SELECT b.id, b.codigo, a.codacesso, a.seqproduto, a.desccompleta, b.quantidade, b.data_vencimento, b.data_atual, b.observacao, b.usuario, b.estado,...
asked by 14.11.2018 / 11:07
1
answer

How does Oracle act after running a PHP script without commit? [closed]

If I execute a series of SQL commands with Oracle database, OCI library, without executing commit and setting it to commit p> What will Oracle do at the end of running the PHP script? A rollback or a commit?     
asked by 01.11.2018 / 16:15
1
answer

Change sequence oracle

How do I update the sequence value? Situation: I'm going to create a sequence but this table may be either registered or unconfigured. So how do I generate the sequence 0 or so with value since there is already a record? create sequence S_...
asked by 26.07.2018 / 19:02
1
answer

Procedures Conversion [closed]

Someone knows or knows an easy way to migrate stored procedures from SQL Server to Oracle.     
asked by 19.09.2018 / 14:40
1
answer

Help with oracle database query

How to increase your salary by 0.1% of those with lower salary than your department's AVG This is the table for I was able to take the average salary by department: SELECT cod_departamento, AVG(VAL_SALARIO) FROM FUNCIONARIO GROUP BY C...
asked by 10.02.2018 / 04:47
2
answers

Field type suitable for saving currency in Oracle

Is there any problem in saving data with a comma or period (.) in my database (SQL Developer)? What is the most appropriate variable to declare for currency (price) fields?     
asked by 15.10.2016 / 01:58
1
answer

How to identify and correct error 00302 in Oracle? [closed]

How can I correct an error of this nature (ERROR 00302) and how to know the line in which the error is in Oracle SQL Developer? Error(16,6): PL/SQL: Statement ignored Error(16,52): PLS-00302: component 'NOME_PESSOA' must be declared Error(17,6...
asked by 19.07.2016 / 20:23