Questions tagged as 'oracle'

0
answers

Error displaying message in PL-SQL

Code DECLARE BEGIN FOR I IN (SELECT * FROM PRODUTOS_TESTE2) LOOP DBMS_OUTPUT.PUT_LINE(I.codigo|| ' - ' || I.categoria || ' - ' || I.VALOR); END LOOP; END; Error message: Relatório de erros - ORA-06550: line 5, col...
asked by 24.01.2018 / 21:43
0
answers

Error oracle ora-06550 pls-00103:

I have this PL-SQL code: /*1. Criar um bloco PL/SQL anônimo para imprimir a tabuada abaixo:*/ DECLARE VN CONSTANT NUMBER(2) := 5; BEGIN FOR i IN 1..1O LOOP DBMS_OUTPUT.PUT_(VN || ' X ' || i ||'='|| VN*i); END LOOP; END; Er...
asked by 25.01.2018 / 05:32
1
answer

How to create a JOB in ORACLE for backup?

Good afternoon guys! I'm still new to the subject when it comes to sql, I'd like to know how to create a JOB (or another operation that does the same) that performs a data extraction from a table to a .sql file in a directory I set . If it...
asked by 17.01.2018 / 14:55
0
answers

Update on Cascade Oracle with composite primary key

create or replace TRIGGER cascade_update AFTER UPDATE OF project_name ON PROJECT FOR EACH ROW BEGIN UPDATE VEHICLE SET project_name = :new.project_name WHERE project_name = :old.project_name; UPDATE VELOC...
asked by 09.01.2018 / 18:13
1
answer

Why can not I create a tablespace?

I'm trying to create a tablespace in oracle 11g but I can not seem to point out the error in that image: I wanted to understand why I can not create!     
asked by 24.01.2018 / 16:17
0
answers

Parameters of entry in Stored Procedure with more than one value

I need to do a stored procedure in oracle where I have 5 input parameters and 1 output parameter that will be a cursor (recordset). The problem is that each input parameter can receive more than one value, that is, a list of values. These receiv...
asked by 11.01.2018 / 12:44
0
answers

Record in table if query returns result (Oracle)

I'm developing a call panel. I have a query that results in the client's call (name / password / guiche), this query returns the result for 10 seconds, after that it is empty until the next call. I need every time this query has content (numr...
asked by 19.12.2017 / 11:51
1
answer

How to correctly set the & character in SQL Developer 17.3

Hello friends I'm trying to do a sql query in SQL Developer as follows: SELECT * FROM CLIENTE WHERE NOME_CLIENTE IN ('SALES & CIA AGUIAR', 'SAO JOAO') The tool understands the '&' character as a variable entry and so does not displa...
asked by 21.12.2017 / 12:00
2
answers

Remove repetitions in sequence from select Oracle

I am having a question for mounting a query on Oracle, I have the following so far ... SELECT M5.NIVEL_ESTRUTURA , M5.GRUPO_ESTRUTURA , M5.SUBGRU_ESTRUTURA , M5.ITEM_ESTRUTURA , M5.SEQ_OPERACAO , M5.CODIGO_ESTAGIO FR...
asked by 27.11.2017 / 12:24
0
answers

Could not create the driver from NHibernate.Driver.OracleDataClientDriver, NHibernate, Version = 4.0.0.4000, Culture = neutral,

I'm working on an application with N Hibernate and Fluent NHibernate. I'm having problems with the settings of my App.config . I do not know exactly what's wrong with my settings. I'm getting this Exception: NHibernate.HibernateExcepti...
asked by 28.11.2017 / 13:41