Questions about the command line interface

The simplest way to populate your database with test data.

Questions about the command line interface

Postby KlausE » Mon May 25, 2009 2:55 pm

Hi RedGate team,

I tried to find information about the /argfile switch in the commandline interface. Could you give a short example of what arguments can be set and how the file format looks like?

If I am configuring Application Options in the GUI interface of SQL Data Generator, are they used by the command line application as well?

Posts: 4
Joined: Mon Sep 01, 2008 1:54 pm

Postby Matthew Flatt » Wed May 27, 2009 7:45 pm

Hi KlausE,

The SQL Data Generator command line is basically just there to enable it to be run from a batch file etc.

All the project specific options can only be set in the SQL Data Generator GUI, these are stored in the project file which can be called from the command line.

It's easier to directly call the project file from the command line rather than calling an argfile which calls the project file.

I hope this helps.
Matthew Flatt
Test Engineer, HyperBac
Matthew Flatt
Posts: 253
Joined: Tue Jan 15, 2008 3:45 pm

What is the purpose of the /argfile switch

Postby mattkarp » Wed Nov 10, 2010 4:01 pm


Are you saying that the /argfile switch can not be used to dynamically pass in parameters or setting to an existing project (.sqlgen file)? I understood this switch as being used for that purpose. For example, I would like to be able to dynamically pass in the bit flag for "Delete data from table before generation" in the Table generation settings or the Min value for the IDs generator in the Column generation settings. Can not the /argfile switch do this? If it cannot do this I need to know as I will need to design another approach.

Thank you,

Matt Karp
Posts: 6
Joined: Mon Nov 01, 2010 6:03 pm

Return to SQL Data Generator Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests