how to generate records to fill up a table
Chris Sharman
chris.sharman@ccagroup.co.uk
Tue, 08 Mar 2005 14:55:50 +0000
Viet Nguyen wrote:
> Hi All,
> I have a question:
> I have a table named Scores with 1 field Score Inter size 4
> How do I use powerhouse to generate 100 records and fill it with values
> from 1 to 100 sequentiallly ?
> Thank you.
qtp would be the obvious choice.
You'll need a file with a least 100 records to use as a 'driver'
eg
qtp
> access somefile
> set inp lim 100
> output scores add
> item score count
> go
Chris
-----------------------------------------------------------------------
Any views expressed in this message are those of the sender and not
necessarily those of CCA Group. The unauthorized use, disclosure,
copying or alteration of this message is forbidden. The contents of
this message may be confidential and/or privileged, copyright CCA Group
and are intended solely for the use of the individual or entity to whom
they are addressed. Whilst this message has been scanned, CCA Group
cannot guarantee that it is virus free or compatible with your systems
and accepts no responsibility for any loss or damage arising from its
use. The recipient is advised to run their own anti-virus software. If
you receive this message in error please contact
postmaster@ccagroup.co.uk immediately, destroy any copies and delete it
from your computer systems.