Lợi thế của Proceduce so với Sql

1. Proceduce mang tính chất đóng gói, code ở DB không bị lộ ở Client.
2. Giúp hiệu năng truy vấn cao hơn vì DB k phải biên dịch nhiều lần sql
3. Có thể dễ dàng thay đổi logic ở db mà k cần thay đổi và deploy lại code
4. Có thể xử lý tránh sql injection bằng xử lý tham số đầu vào bằng hàm Quote ở DB

Comments

Popular posts from this blog

Fixing the DeepSpeed Import Error While Fine-Tuning the Qwen Model

Amazon Linux 2023 - User data configuration for launch templates to connect to the EKS cluster

How to create ISM policy and rotate logs in opensearch