What are the challenges you face when working across database platforms? Take the survey

Date type column generator

I created a custom datetime generator and it works. I’m now trying to do the same for a date type column but I can't seem to find a way to make it work. What should I use for the “type” and the “sqlType”?



  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi Felipe,

    I believe you've solved this issue by making the generator available to the column that you want by adjusting the minlen property of the match XML element.

    If you want to generate data of a certain SQL Type, it's the generator type RedGate.SQLDataGenerator.Generators.SQL.SqlColumnGenerator and the type is whatever the .NET ADO Client equivalent of the SQL data type that you need.

    http://msdn.microsoft.com/en-us/library ... btype.aspx
Sign In or Register to comment.