Cursors yani imleçler, bir sorgu tarafından döndürülen değerler üzerinde satır satır işlem yapmayı sağlayan veritabanı nesneleridir. Bir imleç 5 adımdan oluşur:
Triggers (Tetikleyiciler), PL/SQL içindeki son konumuz. Tetikleyiciler, yazıldıkları koşullara göre otomatik işlem yapan yapılardır. Örneğin bir tabloya veri ekleme, silme, güncelleme işlemleri için kayıt (log) tutulabilir. Tetikleyiciler…
Prosedür, parametre alabilen fakat geriye bir değer döndürmeyen alt programlardır. Bu bölümde aşağıdaki kısımları inceleyeceğiz:
Fonksiyonlar, prosedürlere benzemektedir. Aralarındaki tek fark geriye değer döndürmeleridir. Bu yazıda öğreneceklerimiz:
Bu bölümde, paketler konusunu inceleyeceğiz. Paketler, mantıksal olarak ilişkili PL/SQL tipleri, alt programları gruplayan şema nesneleridir. Paketler bize modüllerlik, kolay uygulama dizaynı, iyi performans avantajı sağlar. Paketler 2 kısımdan oluşur: