Archive for the ‘MsSQL’ Category

วิธีแก้ไข SQL Server 2008 Error : Saving changes is not permitted.

เพิ่งเปลี่ยนมาใช้ SQL Server 2008 พอจะแก้ไข Table แล้วก็เจอ Error
Saving changes is not permitted. The changes that you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created.
ซึ่งเกิดจากระบบป้องกันการแก้ไข Table ของ [...]

วิธีแก้ไข ASP.NET Error : The SELECT permission was denied on the object ‘table_name’, database ‘table_name’, schema ‘dbo’.

จาก Error ตามหัวข้อเกิดจากไม่ได้ Add Permission (เพิ่งเคยเจอเหมือนกัน อุอุ) สามารถแก้ไขได้ดังนี้

Fatal error: Call to undefined function: mssql_connect()

พอดีเขียน PHP รัน โดย IIS ใช้ Windows XP เซ็ตอับลงได้ปกติ แต่พอถึงคราวต้องติดต่อ MS-SQL กลับเกิด Error

Cannot insert explicit value for identity column in table ‘TB_NAME’ when IDENTITY_INSERT is set to OFF.

พอดี สร้าง sql ให้ลูกค้าก็ผ่าน SQL Server 2005 Express นะแหล่ะคับ แต่กลับ Insert ข้อมูลไม่ได้ ขึ้น “Cannot insert explicit value for identity column”

แก้ปัญหา UTF-8 แสดงเป็น ???????? ใน MS-SQL

พอดี html ให้ charset เป็น utf-8 แต่แต่ตอนรันแล้ว Insert ข้อมูลที่เป็นภาษาไทยลงใน database เป็นตัวหนังสือดันกลายเป็น ‘????????’ อ่อ ! ผมใช้ SQL Server 2005 Express ครับ

Install SQL Server 2005 Express Edition

แค่รวมลิงค์ดาวน์โหลดแป่ะไว้กันลืมครับ ไม่ได้บอกขั้นตอนละเอียด

Powered by WordPress | Shop Free T-Mobile Phones Online | Thanks to Verizon Phones without Contract, MMORPG Games and Sell Car