Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
other
informationbridge
office.intranets
office.misc
office.setup
office.xml
officeupdate
onenote
photodraw.discussion
powerpoint
producer
proj.standard&server
project
project.developer
project.pro_and_serve
project.server
project.vba
project2000
publisher
publisher.prepress
publisher.programming
publisher.webdesign
visio
visio.createshapes
visio.database.modeling
visio.dev.diagrams
visio.dev.shapesheet
visio.dev.vba
visio.dev.vc
visio.developer
visio.general
visio.installation
visio.printing
visio.software.modeling
visio.troubleshoot
  
 
date: Mon, 27 Feb 2006 12:36:26 -0800,    group: microsoft.public.visio.database.modeling        back       


Visio fails updating uniqueidentifier   
I have Visio for Ent Architects SP-2 (10.0.5110) and an SQL-Server (2000 
sp3). In a project i need to work with a considerable amount of GUIDs 
(uniqueidentifiers).

The problem is that updating a table (that contain a non-nullable GUID 
field) that has been changed in visio and thus shall be propagated to the db 
fails.

After examining the DDL-script it appears that things go wrong in the 
beginning of the update process... The first step is to create the temp table 
(xx_IM0) - this work all right, and the next step - that is to move the data 
from the original table to the temp table fails. The minor step between these 
two step - setting the identity-insert works ok as well.

The table that is being edited/updated is empty btw.

Thus, - the generated DDL-script is not working.

I can manually edit the DDL script and get it to work, - but...

Is there a reasonably smooth way to do this? Can I intercept the update 
cycle? Is there a workaround?

BR /J
date: Mon, 27 Feb 2006 12:36:26 -0800   author:   j Eriksson j

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us