Questions tagged as 'oracle'

1
answer

PLS-00103 error when trying to compile a Package

I'm trying to compile the package below and the error is being returned: Error (9,3): PLS-00103: Found the "BEGIN" symbol when one of the following symbols was expected: language CREATE OR REPLACE PACKAGE PCK_TB_ESTADO IS PROCEDURE PRC_INSER...
asked by 09.03.2014 / 05:42
2
answers

Entity framework 6.2.0 + Find

Hello, I'm using a search method with entity framework and oracle, and I encountered a problem with dates. In my search I use the following logic: Find(x => x.Data_Intencao >= Periodo.Date, c => c.SubOrigem_EF); But in my Dat...
asked by 02.01.2019 / 19:03
2
answers

How to Migrate SQL Server Database to Oracle

I've created a diagram in sql-server , where it automatically creates the entire database structure, but I will have to migrate to Oracle. Can I migrate the entire structure (tables, FKs, PKs, etc.) with some tool? Obs. 1: There are no d...
asked by 01.04.2014 / 15:41
1
answer

Oracle migration to sql server

Can someone tell me a good data migration tool for the oracle database for the sql server database and vice versa?  I need to get lots of records from the oracle database and save it to the sql server database, I need the migration to be done in...
asked by 12.12.2018 / 19:28
1
answer

Join two Select

I am developing a report in PowerBuilder and would like to know how to merge results from two SQL queries into the report. If I add the function f_block_to_number in the first query and add the invoice table in from, the records multiply in the...
asked by 20.05.2014 / 18:36
2
answers

Execute a procedure from a Java application

I have a procedure inside the oracle database, but I'd like to run it from a desktop java application I'm developing. How do I execute an oracle procedure with parameters in java?     
asked by 17.06.2014 / 15:32
1
answer

How to make an appointment to know the averages of people per day a week

Hello, I would like to know how to query the Oracle database to know: What is the average number of guests per day of any given week. Here's the script for the bank: CREATE TABLE APP.HOSPEDAGENS ( hsp_id number(6), hsp_checkin...
asked by 05.12.2018 / 06:28
1
answer

How to limit results in Oracle without reading the entire table?

How can I return the first 100 rows of a table without having to read all of its records? My table has 4 rows of rows, and I'm having trouble trying to return only its first 100 rows, because every time I use ROWNUM, sgbd reads the entire tab...
asked by 01.09.2015 / 23:16
1
answer

OCI-22053: overflow error - C #

I'm developing a web application in MVC with C# . I made a method that makes a select in my bank oracle and with the value returned I fill in a DataTable . But it returns an error when I run " dataAdapter.Fill(resultado)...
asked by 12.02.2014 / 13:30
1
answer

Error when using ALIAS in select

In the select below, I would like to use the novonome alias in the second column (instr). select substr(titulo, 1, 20) AS **novonome**, instr(**novonome**, ' ')+1 from conteudo; But I get the error:    ORA-00904: "newname...
asked by 22.11.2018 / 18:03