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

Adding Data to New Columns

I've got a very complex database with a mixture of SQL Generated Data and manually entered/real data. I've added a couple of columns to one of the tables - just Firstname Lastname and I want to use SQL Data Generator to populate only these two columns.

How do I do this?


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

    Unfortunately, SQL Data Generator, due to its' design, can only blast data into a whole table. You cannot select or deselect individual columns to populate.
  • Options
    Well that's a serious limitation of your product. I'm going to have to look for another solution.
  • Options
    James BJames B Posts: 1,124 Silver 4
    The workaround to this kind of problem is to restore a temporary copy of your database and use this as the source data for all the columns you want to keep the current data in. You can then use the generators on the remaining new columns. It's obviously not an ideal solution but the end result is the same.
    There's an article that covers these ideas here
    Systems Software Engineer

    Redgate Software

Sign In or Register to comment.