Microsoft Sql Server
Set Nocount
Set Nocount นึกถึงตอนที่เรา query ข้อมูล เช่น Select, Insert, Delete, Update มันจะมีบอก (2 row(s) affected),(10 row(s) affected) เป็นต้น ซึ่งนี่แหละ
ปัญหาอย่างหนึ่งของ Count ที่ใช้ใน Store Procedure เพราะมันจะเกิด Return…