How To Solve: Saving Changes Is Not Permitted on SQL SERVER

10,426 views
9,792 views

Published on

How To Solve: Saving Changes Is Not Permitted on SQL SERVER

Published in: Education, Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
10,426
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
16
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

How To Solve: Saving Changes Is Not Permitted on SQL SERVER

  1. 1. SAVING CHANGES IS NOTPERMITTED ON SQLSERVER 2008. HOW TOSOLVE?BY:IKHWAN KRISNADI – SOFTWARE ENGINEER
  2. 2. IKHWAN KRISNADI - SOFTWARE ENGINEERCAUSED BY SAVING CHANGES IS NOT PERMITTED WHEN ALTER TABLE (TABLE STRUCTURE IS CHANGED) : CHANGE DATA TYPE ON EXISTING COLUMS OR CHANGE ALLOW NULLS ON EXISTING COLUMNS
  3. 3. IKHWAN KRISNADI - SOFTWARE ENGINEERSOLUTION DISABLE PREVENT CHANGES TO ALTER TABLE
  4. 4. IKHWAN KRISNADI - SOFTWARE ENGINEEREXAMPLE SQL SERVER MANAGEMENT STUDIO THAT USED IS SQL SERVER MANAGEMENT STUDIO 2008 R2 TABLE THAT USED IS MST_STUDENT
  5. 5. IKHWAN KRISNADI - SOFTWARE ENGINEERSCRIPT TABLEMST_STUDENT
  6. 6. IKHWAN KRISNADI - SOFTWARE ENGINEERMST_STUDENT BEFOREALTERED
  7. 7. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLEMST_STUDENT RIGHT CLICK ON TABLE MST_STUDENT, THEN CLICK DESIGN
  8. 8. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLE MST_STUDENT(CONTINUED) CHANGE DATA TYPE COLUMN “ADDRESS1” BECOME VARCHAR(300) SAVE CHANGES
  9. 9. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLE MST_STUDENT(CONTINUED) OCCURS NOTIFICATION THAT CHANGES IS NOT PERMITTED
  10. 10. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLE MST_STUDENT(CONTINUED) CLOSE THE NOTIFICATION CLIK TOOLS, THEN CLICK OPTIONS
  11. 11. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLE MST_STUDENT(CONTINUED) CLICK DESIGNERS
  12. 12. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLE MST_STUDENT(CONTINUED) UNCHECK PREVENT SAVING CHANGES THAT REQUIRE TABLE RE-CREATION
  13. 13. ALTER TABLE MST_STUDENT(CONTINUED) CLICK OK RIGHT CLICK ON TABLE MST_STUDENT, THEN CLICK DESIGN CHANGE DATA TYPE COLUMN “ADDRESS1” BECOME VARCHAR(300) SAVE CHANGES IKHWAN KRISNADI - SOFTWARE ENGINEER
  14. 14. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLE MST_STUDENT(CONTINUED) TRY TO SELECT ON TABLE MST_STUDENT AFTER CHANGES
  15. 15. ALTER TABLE MST_STUDENT(CONTINUED) VIEW DESIGN TABLE MST_STUDENT AFTER CHANGES IKHWAN KRISNADI - SOFTWARE ENGINEER
  16. 16. NOTE DON’T CHANGE STRUCTURE TABLE WHEN TABLE IS ACCESSED BY USER IKHWAN KRISNADI - SOFTWARE ENGINEER
  17. 17. THANK YOU IKHWAN KRISNADI - SOFTWARE ENGINEER

×