Red Gate forums :: View topic - Generate Only One Column
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

Generate Only One Column

Search in SQL Data Generator 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Miron



Joined: 15 Sep 2013
Posts: 1

PostPosted: Sun Sep 15, 2013 4:39 pm    Post subject: Generate Only One Column Reply with quote

How can I generate only one column in a table.
I want to generate a weight list values based on ID's from other table
10nxs
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1123
Location: My desk.

PostPosted: Mon Sep 16, 2013 7:37 pm    Post subject: Reply with quote

Hi Miron.

To generate data in just one column, you would highlight the table on the left hand side, then pick "Use existing data source" and point it at the table containing the data you want to keep in another DB.
Then, for each column, you can pick the source data to keep from the top of the "Generator" dropdown list, apart from the column you want random data for. For that column, just pick the generator you want.

The issue I think you will have is that the Weighted List generator doesn't allow you to base it on information from other columns/data - it only works with the data you put into the generator.
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