Red Gate forums :: View topic - Conversion failure on data generation
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Data Generator 2
SQL Data Generator 2 forum

Conversion failure on data generation

Search in SQL Data Generator 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
kspencer@solidq.com



Joined: 03 Jul 2012
Posts: 1

PostPosted: Tue Jul 03, 2012 8:28 pm    Post subject: Conversion failure on data generation Reply with quote

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
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6674

PostPosted: Thu Jul 05, 2012 9:59 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6674

PostPosted: Thu Jul 05, 2012 10:01 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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