| Author |
Message |
kspencer@solidq.com
Joined: 03 Jul 2012 Posts: 1
|
Posted: Tue Jul 03, 2012 8:28 pm Post subject: Conversion failure on data generation |
|
|
I tried out this tool today and it blows up consistently on one table.
The error says conversion failed from varchar to in with the data 6/12.
But it does not tell me the column it tailed on so i can't track it down. _________________ Ken Spencer
SolidQ |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Thu Jul 05, 2012 9:59 am Post subject: |
|
|
Hi Ken,
As far as I'm aware, SDG is not going to cast or convert any data, so my best guess is that the column in question would probably be a computed column. Data Generator will still allow SQL Server to generate the data for any computed columns rather than attempting to generate it itself.
http://www.red-gate.com/supportcenter/content/SQL_Data_Generator/help/2.0/SDG_About_generators _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Thu Jul 05, 2012 10:01 am Post subject: |
|
|
SQL Server's syscolumns table will make it easier to find any computed columns using the IsComputed column. http://msdn.microsoft.com/en-us/library/ms186816.aspx _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group