ข้ามไปที่เนื้อหาหลัก

การทำ Trigger สำหรับฐานข้อมูล MySQL, SQL, Postgresql

สำหรับคนที่ทำงานเกี่ยวกับการพัฒนาระบบฐานข้อมูลขององค์กรขนาดใหญ่ๆ คงมีความคุ้นเคยกับใช้งาน Trigger อยู่แล้ว ซึ่ง Trigger เป็นที่เข้าใจกันดีว่า เป็นการทำงานอัตโนมัติ เมื่อเกิดเหตุการณ์ เพื่อทำงานตรวจสอบการเปลี่ยนแปลงค่าต่างๆ ในตาราง เพื่อวัตถุประสงค์การใช้งานฐานข้อมูลในเชิง Data Integrity (ความบูรณภาพของข้อมูล=ความถูกต้องและสมบูรณ์ของข้อมูลที่อยู่ในฐานข้อมูล) สำหรับป้องกันความผิดพลาดและความซ้ำซ้อนในการป้อนข้อมูล เช่น รหัสลูกค้าที่จะต้องไม่ซ้ำกัน

Tirgger เป็นฐานข้อมูลเชิงวัตถุที่ขึ้นกับคำสัง การเพิ่ม การแก้ไข และ การลบ จะทำกับตาราจริง โดยใช้เหตุการณ์ดังกล่าวในการทำงาน โดยอาจจะเริ่มก่อน หรือหลังจากคำสั่งหลักทำงานก่อน

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

Anvil แฟลต์ฟอร์ม สำหรับ Python Full Stack มีครบ จบในเครื่องมือเดียว

Anvil แฟลต์ฟอร์ม สำหรับ Python Full Stack มีครบ จบในเครื่องมือเดียว Avil เป็นแฟลต์ฟอร์มสำหรับสร้างเว็บแอพลิเคชั่น ด้วยภาษา python สามารถใช้งานทั้ง HTML CSS JavaScript SQL ทั้งหมดนี้รวมในเครื่องมือที่ชื่อว่า Anvil Python ใช้สำหรับรันบนบราวเซอร์ เซอร์เวิรส์ และสร้าง UI ด้วยวิธีการ Drag-and-Drop เพียงลากวาง UK และยังสามารถเชื่อมต่อและใช้งาน Database  และยังสามารถ Integration กับแฟลต์ฟอร์มอื่นๆ ได้อีกด้วย โครงสร้างของ Anvil  การออกแบบง่ายๆ ด้วย drag-and-drop ใช้ python เป็น client-side และรันบน บราวเซอร์ Server-side รันบน Anvil Server สามารถใช้ Database ต่างๆ เพื่อเก็บข้อมูล สามารถรัน python บนเครื่องและตอบโต้กับแอปพลิเคขั่นไดด้

SaaS API-Base Definition, Benefits, Challenges, Problems and Goal for Innovation

What is an Application Programming Interface? API is a set of protocols, standards, and tools that allow two or more software applications to connect and share specific data. API  What is API-Base Saas? API-based SaaS is a software application hosted in the cloud. Users and other programs can access the software’s features, data, and functions via an API instead of a user interface. API refers to the software delivery model as a SaaS Application's functionalist and features are exposed and made to customers through APIs. This combination of the business model of technology on a cloud-base.   This is an integration Service on the cloud provider The Benefits of API-Base SaaS User Experience  Simplifies Development  Increases Accessibility Flexible and Scalable  The Challenges of API-Base SaaS Startup Performance  Integration  Security Pricing What’s The Difference Between SaaS And An API? RPC APIs.  WebSocket APIs. SOAP APIs. REST APIs. The Too...