• BERANDA
  • TENTANG
    • Profil
    • Visi dan Misi
    • Tujuan dan Fungsi
    • Struktur Organisasi
    • Pimpinan Organisasi
    • Program Kerja
  • BERITA
    • Pengumuman
    • Kegiatan
    • Prestasi
  • KERJASAMA
  • LAYANAN & INFORMASI
    • Aplikasi
      • Sistem Informasi Layanan Kemahasiswaan & Alumni (SIKEMAL)
      • Academic Online Campus (AOC)
      • Daftar Ulang
      • Pendaftaran Mahasiswa Baru (PMB)
      • Aplikasi Pembayaran Online
    • Kesejahteraan Mahasiswa
      • Beasiswa
      • Asuransi
      • Pusat Pelayanan Kesehatan
    • Minat Bakat Mahasiswa
      • Pembinaan Prestasi Kemdikbud
      • Fasilitasi Kegiatan Prestasi Non Kemdikbud
    • Karir Mahasiswa
    • Administrasi Kemahasiswaan
      • Daftar Ulang Mahasiswa Lama
      • Cuti Akademik
      • Aktif Kembali Dari Cuti
      • Surat Keterangan Ijazah
      • Legalisir Ijazah
      • Surat Keterangan Keabsahan Ijazah Alumni S1 dan S2
    • Arsip Digital
      • Persyaratan & Prosedur Pelayanan Kemahasiswaan
      • Persyaratan & Prosedur Pelayanan Alumni
      • Formulir dan Format Surat
      • Sertifikat Akreditasi
      • Artikel
    • Help Desk BPIKA
  • PMB
    • Program Sarjana
      • Mahasiswa Reguler
      • Mahasiswa Melanjutkan
      • Mahasiswa Asing
    • Program Pascasarjana
      • Program Magister (S2)
      • Program Doktor (S3)
      • Mahasiswa Asing
  • Kegiatan Mahasiswa
    • Kegiatan Dikti
    • Kegiatan UKM
  • ALUMNI
    • Tracer Study
    • Foto Wisuda
    • Laporan Tracer Study
  • PRESTASI
  • Galeri
      • Instagram
      • Youtube
Biro Pengembangan Inovasi Dan Karir Universitas Medan Area
    • BERANDA
    • TENTANG
      • Profil
      • Visi dan Misi
      • Tujuan dan Fungsi
      • Struktur Organisasi
      • Pimpinan Organisasi
      • Program Kerja
    • BERITA
      • Pengumuman
      • Kegiatan
      • Prestasi
    • KERJASAMA
    • LAYANAN & INFORMASI
      • Aplikasi
        • Sistem Informasi Layanan Kemahasiswaan & Alumni (SIKEMAL)
        • Academic Online Campus (AOC)
        • Daftar Ulang
        • Pendaftaran Mahasiswa Baru (PMB)
        • Aplikasi Pembayaran Online
      • Kesejahteraan Mahasiswa
        • Beasiswa
        • Asuransi
        • Pusat Pelayanan Kesehatan
      • Minat Bakat Mahasiswa
        • Pembinaan Prestasi Kemdikbud
        • Fasilitasi Kegiatan Prestasi Non Kemdikbud
      • Karir Mahasiswa
      • Administrasi Kemahasiswaan
        • Daftar Ulang Mahasiswa Lama
        • Cuti Akademik
        • Aktif Kembali Dari Cuti
        • Surat Keterangan Ijazah
        • Legalisir Ijazah
        • Surat Keterangan Keabsahan Ijazah Alumni S1 dan S2
      • Arsip Digital
        • Persyaratan & Prosedur Pelayanan Kemahasiswaan
        • Persyaratan & Prosedur Pelayanan Alumni
        • Formulir dan Format Surat
        • Sertifikat Akreditasi
        • Artikel
      • Help Desk BPIKA
    • PMB
      • Program Sarjana
        • Mahasiswa Reguler
        • Mahasiswa Melanjutkan
        • Mahasiswa Asing
      • Program Pascasarjana
        • Program Magister (S2)
        • Program Doktor (S3)
        • Mahasiswa Asing
    • Kegiatan Mahasiswa
      • Kegiatan Dikti
      • Kegiatan UKM
    • ALUMNI
      • Tracer Study
      • Foto Wisuda
      • Laporan Tracer Study
    • PRESTASI
    • Galeri
        • Instagram
        • Youtube

    Article

    Home » Blog » Database Administrator Tips – Defining Different Types Of Views

    Database Administrator Tips – Defining Different Types Of Views

    • Categories Article

    In an application, a view is simply the logical result grouping of an existing stored query on the current data, that the application users can query as they would on a persistent storage object. This implied query command is stored in the database hierarchy. Every application has a single view, and it’s called a session, which can be viewed by any user at any time.

    Views can be defined as an association between views and commands. A view on a table represents the queryable data contained in that table. Similarly, a view on a collection represents the logical structure of the collection and can be specified to return all or part of the information contained in the values of its keys. views can also be used to provide applications with information about the relationship of two objects, for example, to create a queryable view that returns a list of objects where each object is associated with a different view.

    Views are a great tool for creating reusable views that can be reused over again. For example, consider a previous scenario where you had created a static table, and then used an sql query to retrieve the values of the columns in the cell. When you subsequently created a view to represent these values, you created a new view that had all the same information as the old view, but could be used again if required. Of course, you have to remember to update both views whenever necessary. The problem with this scenario is that it requires the developer to refer to the original source code to find out how to use their view. More importantly, if you were to make any changes to your source code during the lifetime of your view, the update would not be reflected in your view, and your application would be unable to continue running.

    An example of a view can illustrate the problem even more clearly – imagine you have a web form on your website that collects user details. If you were to add a new field called’s_id’ to the form, and then create a query to return the details of every user who has submitted a request for more information, you would need to update this view when the details changed. This scenario is illustrated clearly in the second example – once the details stored in the student details view change, you will need to update the view to reflect this change. However, what if you forget to update the details view before the change? Now the details stored within the view are not updated when the new s_id value is populated, resulting in the application becoming confused and unable to continue.

    The second major advantage of using views is that they allow users to not only edit multiple tables but to easily switch between them at any time. As an example, if you have a business that sells products through eBay, and have many different sales listings for each item, it would be extremely tedious to update all of these listings separately. Instead, database administrators can run a series of view queries, updating all the relevant fields as required. In short, it provides a powerful solution for making any number of changes without being forced to rewrite code.

    Views also provide the ability for database administrators to define visibility, or private visibility. Within a view, you define how rows are displayed to the end user, or how they are displayed to other views. To illustrate, if a view displayed all relevant columns to the user when updating a query, the end user would be unable to see the hidden rows of off-screen data. Within a protected view, the rows can still be viewed, but are hidden from view by an opaque session cookie. This allows for both better performance and better security, since any view can be created without requiring the knowledge of the current user.

    Perhaps the most fundamental difference between these two types of views is how they interact with the rest of the system. A view is a view on a single table and can be used to alter or view any other table, even if it is not a view on a view. A protected view, however, is used to alter or hide a particular column within a single table. In this way, it can help maintain the performance of a system where changing the behavior of one table can alter another entire system.

    Multiple views can be defined on a single database. The two types of views will share some common functionality, such as being able to directly access the base table. However, they differ in that only one instance of each view must exist on a single table. In simple terms, the view on the “base” table could be updated, and the view on “one” would become hidden and need to be redefined. The update to the “hidden” view would then need to be done, which would make the two view types incompatible with one another.

    • Share:
    admin

    Previous post

    The Importance of Anatomy and Physiology Courses
    January 1, 2021

    Next post

    The Benefits of Aplication
    January 1, 2021

    Instagram BPIKA

    Pencarian

    Berita Lainnya

    Universitas Medan Area Raih Peringkat Terbaik Versi Scimago Journal Rank
    28May2026
    Seminar Nasional Kebijakan Lingkungan Hidup: FH UMA dan Yayasan SENTRA Soroti Krisis Ekosistem Pesisir Sumatera Utara
    25May2026
    Fakultas Ekonomi dan Bisnis UMA Gelar Community Service Responsibility di Malaysia
    13May2026
    Magister Informatika UMA Perluas Jejaring Global Lewat MoA dengan UniMAP Malaysia
    09May2026
    logo-lke-uma

    Helpdesk

    [email protected]


    Kampus I

    Jalan Kolam Nomor 1 Medan Estate / Jalan Gedung PBSI, Medan 20223
    (061) 7360168. CALL CENTER : 0811-6013-888
    Fax : (061) 7368012
    [email protected]

    Kampus II

    Jalan Sei Serayu No. 70 A / Jalan Setia Budi No. 79 B, Medan 20112
    (061) 42402994, CALL CENTER : 0811-607-259
    Fax : (061) 8226331
    [email protected]

    © Copyright 2026 PDAI Universitas Medan Area