|
[
Permlink
| « Hide
]
Will Glass-Husain added a comment - 09/Mar/07 11:33 PM
added patch to set IDENTITY_INSERT property on row by row basis
Will Glass-Husain made changes - 09/Mar/07 11:33 PM
remembered to add the feather.
Will Glass-Husain made changes - 09/Mar/07 11:34 PM
Will Glass-Husain made changes - 09/Mar/07 11:34 PM
Thanks for the patch, Will.
Can a Torque developer who has access to a mssql db please confirm that this works ? great.
note that you can download a free developer version from Microsoft. (last I checked). FYI - I'll take verify this patch today or tomorrow against my SQL servers.
If I have time, I may make it possible to turn this on / off via an options tag. There may be situations that you DON'T want this protection turned off. In general, we may want to optionally allow the exclusion of native mode autogenerated fields in the Torque generated SQL. E.g, I want the records but don't want to deal with id collisions on "import". But then again, there is alway my XML import/export framework ( http://torque-addons.sf.net/ ) for full control :).
CG Monroe made changes - 19/Oct/07 10:38 PM
CG Monroe made changes - 19/Oct/07 11:03 PM
CG Monroe made changes - 26/Oct/07 06:04 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||