Questions tagged as 'oracle'

1
answer

Error in query INSERT INTO

I'm new using Oracle SQL Developer and I'm trying to make the query run but this is a bug, see the photo.     
asked by 25.11.2017 / 22:29
1
answer

Data being repeated when using INNER JOIN in Oracle

I have three tables, which are as follows: ALUNO , CLASSE and MATRICULA . STUDENT NR_RGM NM_NOME NM_PAI NM_MAE DT_NASCIMENTO ID_SEXO CLASS CD_CLASSE NR_ANOLETIVO CD_ESCOLA CD_GRAU NR_SERIE TURMA CD_PERIODO...
asked by 16.11.2017 / 17:06
1
answer

Select two tables with different columns in ORACLE

I have three tables, one call ALUNO , one call MATRICULA , and another call CLASSE , and I need to select all students who are male and belong to the same class as a student who has a RGM specific. The tables are: STUDEN...
asked by 14.11.2017 / 01:28
1
answer

How to change a table indicating that the data of a certain field can only vary from date 1 to date 2?

I have a table called "LOC_VEICULO" where the vehicle data is contained. In it I have the following field: DT_FABRICATION (DATE), where the manufacturing dates of the vehicles are stored. I need to change the vehicles, indicating the dates of...
asked by 10.09.2017 / 05:25
1
answer

Doubt referring to IN in Oracle

I'm setting up a query and I came up with an issue. My query looks like this: SELECT BASI_030.NIVEL_ESTRUTURA NIVEL, BASI_030.REFERENCIA GRUPO, BASI_030.DESCR_REFERENCIA, BASI_030.CONTA_ESTOQUE, BASI_020.TIPO_PRO...
asked by 07.07.2017 / 15:31
2
answers

Update only one character in a column - Oracle

I have a column, where it is written R. TEST, I just need to make a correction leaving for STREET. TEST, how to make this change in the Oracle database.     
asked by 18.07.2017 / 15:07
1
answer

Constrait unique Oracle

I'm in doubt, when I create a CONSTRAINT UNIQUE , does it evaluate all the columns together? For example, I want a country not to have names or acronyms , in which case should I create CONSTRAINT different? Because I...
asked by 30.07.2017 / 16:26
1
answer

CLOB for string and vice versa [closed]

I'm developing a web server where I have to store images in String of Base64 exchanged by desktop , mobile and website to Oracle database, but I researched a lot and saw some alternatives that are: sto...
asked by 11.05.2017 / 04:30
1
answer

Doubt Sequence usage - Oracle

I have a table in oracle 11g which in turn has a sequence CREATE TABLE "BANCO"."TEXTO" ("TEXTOID" NUMBER NOT NULL ENABLE, "NOME" VARCHAR2(4000 BYTE) NOT NULL ENABLE, "VALOR" VARCHAR2(4000 BYTE) NOT NULL ENABLE, "DATA...
asked by 09.03.2017 / 13:23
1
answer

OCI8 in PHP 7.0 with Xampp 32bit

I'm using xampp on windows 7, PHP version is at 7.0.15. I installed the Oracle Instant Client (32bits tbm) and then extracted into the "ext" folder of php version 2.1.3 of OCI8 according to this site ( link ). The problem is that after doing the...
asked by 08.03.2017 / 18:51