การเชื่อม column ที่มี collation ต่างกันใน SQL Command ใน MSSQL

เราจะใช้ keyword “COLLATE” ตามด้วย collation ที่ต้องการ force ดูตามตัวอย่าง

... WHERE u.emp_code=p.emp_code COLLATE SQL_Latin1_General_CP1_CI_AS