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

  • 7,877 views
Uploaded on

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

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

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
7,877
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
13
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. SAVING CHANGES IS NOTPERMITTED ON SQLSERVER 2008. HOW TOSOLVE?BY:IKHWAN KRISNADI – SOFTWARE ENGINEER
  • 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. IKHWAN KRISNADI - SOFTWARE ENGINEERSOLUTION DISABLE PREVENT CHANGES TO ALTER TABLE
  • 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. IKHWAN KRISNADI - SOFTWARE ENGINEERSCRIPT TABLEMST_STUDENT
  • 6. IKHWAN KRISNADI - SOFTWARE ENGINEERMST_STUDENT BEFOREALTERED
  • 7. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLEMST_STUDENT RIGHT CLICK ON TABLE MST_STUDENT, THEN CLICK DESIGN
  • 8. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLE MST_STUDENT(CONTINUED) CHANGE DATA TYPE COLUMN “ADDRESS1” BECOME VARCHAR(300) SAVE CHANGES
  • 9. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLE MST_STUDENT(CONTINUED) OCCURS NOTIFICATION THAT CHANGES IS NOT PERMITTED
  • 10. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLE MST_STUDENT(CONTINUED) CLOSE THE NOTIFICATION CLIK TOOLS, THEN CLICK OPTIONS
  • 11. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLE MST_STUDENT(CONTINUED) CLICK DESIGNERS
  • 12. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLE MST_STUDENT(CONTINUED) UNCHECK PREVENT SAVING CHANGES THAT REQUIRE TABLE RE-CREATION
  • 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. IKHWAN KRISNADI - SOFTWARE ENGINEERALTER TABLE MST_STUDENT(CONTINUED) TRY TO SELECT ON TABLE MST_STUDENT AFTER CHANGES
  • 15. ALTER TABLE MST_STUDENT(CONTINUED) VIEW DESIGN TABLE MST_STUDENT AFTER CHANGES IKHWAN KRISNADI - SOFTWARE ENGINEER
  • 16. NOTE DON’T CHANGE STRUCTURE TABLE WHEN TABLE IS ACCESSED BY USER IKHWAN KRISNADI - SOFTWARE ENGINEER
  • 17. THANK YOU IKHWAN KRISNADI - SOFTWARE ENGINEER