• Non ci sono risultati.

IMPORTARE IL DATABASE CON ORACLE SQL DEVELOPER

N/A
N/A
Protected

Academic year: 2021

Condividi "IMPORTARE IL DATABASE CON ORACLE SQL DEVELOPER"

Copied!
5
0
0

Testo completo

(1)

IMPORTARE IL DATABASE CON ORACLE SQL DEVELOPER

Connessione al database

Creare una nuova connessione al database Oracle.

Utilizzare l’utente system (con la password specificata in fase di installazione di Oracle Database Express).

Testare la connessione e cliccare su connetti.

(2)

Importare una base dati

Per poter eseguire le esercitazioni del corso è necessario importare i database scaricabili dalla pagina del corso. Scaricare i database ed estrarre i file zip.

Ad esempio, se il database è composto da 3 file:

Aprire i 3 file “.sql” (File→Apri) con SQL DEVELOPER.

Eseguire i 3 script per aggiungere le tabelle al database.

L’esecuzione degli script popolerà il database. Dal pannello laterale di SQL DEVELOPER è possibile visualizzare le tabelle appena generate.

(3)

Importare una base dati (file csv)

Se il database è in formato csv bisogna importare i dati con il seguente metodo. Tasto destro su “tabelle” -> importa dati

Seguire le istruzioni del Wizard per l’importazione. Impostare il formato dati con “csv”:

(4)

Impostare il nome della tabella:

Impostare i tipi degli attributi. In particolare utilizzare INTEGER e NON Annullabile per le chiavi:

(5)

Completare l’importazione con “Fine”.

Riferimenti

Documenti correlati

Separately for phone rate and month, analyze the (i) total income, (ii) the percentage of income with respect to the total revenue considering all the phone rates, (iii)

Torniamo ora a Sql Developer per effettuare la connessione a Oracle usando il nuovo account prova appena creato su Oracle e poter così accedere al Workspace “prova” su cui

9 9999 Returns value with the specified number of digits with a leading space if positive or with a leading minus if negative. Leading zeros are blank, except for a zero value,

Caution: By installing any of the Oracle Database Sample Schemas, you will destroy any previously installed schemas that use any of the following user names:..

ORA-00224: control file resize attempted with illegal record type (string) Cause: An attempt was made to expand or shrink the control file by calling cfileResizeSection using

Table 2–2 describes the various Oracle high availability solutions for planned downtime along with the recovery time that can be attained with each solution and their

SQL*Loader uses the field specifications in the control file to interpret the format of the datafile, parse the input data, and populate the bind arrays that correspond to a

Note: If your site does not have the Automatic Workload Repository and Automatic Database Diagnostic Monitor features, then Statspack can be used to gather Oracle instance