Excluding columns
softworksgroup
Posts: 4
I am a new user so I apologize if this question has an obvious answer.
In many of the tables I want to generate, the best value for a column is provided by a default defined in the database itself. How can I instruct the generator to ignore columns so that the database default will be applied. (The columns are defined NOT NULL so I cannot set the %Null attribute to 100%).
Thanks
In many of the tables I want to generate, the best value for a column is provided by a default defined in the database itself. How can I instruct the generator to ignore columns so that the database default will be applied. (The columns are defined NOT NULL so I cannot set the %Null attribute to 100%).
Thanks
Comments
I have found a way to force some NULL values in using the Python generator, but I still can't get this to work for me. I think it's because SQL Data Generator uses BULK INSERT and you need some kind of format file to allow the bulk insert to jam in NULLs. Here is the Python script anyway in case you want to give it a try...
So I guess you have a feature request there. The code needs to be changed to make this work.