I get an error when I script a CREATE table to a new query editor window in SSMS 2008 (this is being done against a SQL 2008 Database also). I'm running this on SQL 2008 Developer Edition (RTM); in Windows XP (with Service Pack 3 installed).
Reproduction instructions: (on any table already existing in the database...)
1) Highlight the existing table.
2) Right-Click to get a pop-up menu for the table
3) Select the "Script Table as..." sub-menu
4) Select the "CREATE To..." sub-menu
5) Click on "New Query Editor Window"
NOTE: New window will appear, with the scripting code, then as the window completes a JIT error appears.
As a side-effect of the JIT error, I lose the ability to Undo / Re-Do (from Edit Menu or pressing CTRL+Z / CTRL+Y) in the query window that was created with the script. I regain the ability in other query editor windows; but if I go back to the scripted window I lose the ability again.
I've verified that if I un-install SQL Prompt 4 the error no longer occurs. When I re-installed SQL Prompt 4 the error returned at the exact same location with the exact same steps to recreate.
I submitted a bug report (via your website) with details of the error message. I may be contacted for more information, if needed.
Thanks,
James
Reproduction instructions: (on any table already existing in the database...)
1) Highlight the existing table.
2) Right-Click to get a pop-up menu for the table
3) Select the "Script Table as..." sub-menu
4) Select the "CREATE To..." sub-menu
5) Click on "New Query Editor Window"
NOTE: New window will appear, with the scripting code, then as the window completes a JIT error appears.
As a side-effect of the JIT error, I lose the ability to Undo / Re-Do (from Edit Menu or pressing CTRL+Z / CTRL+Y) in the query window that was created with the script. I regain the ability in other query editor windows; but if I go back to the scripted window I lose the ability again.
I've verified that if I un-install SQL Prompt 4 the error no longer occurs. When I re-installed SQL Prompt 4 the error returned at the exact same location with the exact same steps to recreate.
I submitted a bug report (via your website) with details of the error message. I may be contacted for more information, if needed.
Thanks,
James