Comment #4 on issue 43 by matthias.schippling: RenameColumn - failure when the Column is RowGuidCol
http://code.google.com/p/migratordotnet/issues/detail?id=43

To apply nicholas.credli's method directly to Migrator.NET, surround the
Database.RenameColumn call with the following calls:

Database["SqlServer"].ExecuteNonQuery("ALTER TABLE tableName ALTER COLUMN
oldColumnName DROP ROWGUIDCOL");

Database.RenameColumn("tableName", "oldColumnName", "newColumnName");

Database["SqlServer"].ExecuteNonQuery("ALTER TABLE tableName ALTER COLUMN
newColumnName ADD ROWGUIDCOL");

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"migratordotnet-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/migratordotnet-devel?hl=en.

Reply via email to