Creazione di una Vista

From Apache OpenOffice Wiki
Jump to: navigation, search





Pagina in traduzione - translation in progress





Una Vista è una ricerca. Per questo motivo, i dettagli su come creare ed usare una Vista sono nella sezione (UNDEFINED REFERENCE: "Creating Queries").

[[Image:|thumb|Figura 1: Vista di alcuni campi dalla tabella Vacanze]]

Una Vista è anche una tabella: i suoi campi provengono da quelli di una o più tabelle del database. Ciò ci permette di vedere il contenuto di un certo numero di campi senza preoccuparci della tabella alla quale essi appartengono. Una Vista può essere costituita da alcuni campi di una tabella come in Figura 1, oppure da campi provenienti da tabelle diverse come in Figura 2.

[[Image:|thumb|Figura 2: Vista dei campi provenienti dalle tabelle Carburante e Tipo Pagamento]]


Attenzione
[[Image:]]
I dati non possono essere inseriti attraverso una vista, ma vanno aggiunti attraverso la tabella. La vista serve esclusivamente per visualizzare dati che sono già stati inseriti attraverso la tabella.






A View is a query. Because of this, the details of how to create and use a View are in the Creating queries section.

View of some fields from the Vacations table.

A View is also a table. Its fields come from the fields of one or more tables of the database. It provides a way to look at a number of fields without regard to the table to which any of the fields belong. A View can consists of some of the fields on one table as shown above. Or, it can consist of fields from more than one field as shown below.

View of fields from the Fuel and Payment Type tables.
Documentation caution.png Data can not be entered into a View like it can be added to a table. It is strictly for viewing data which has already been added.
Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools