Home > Archive > IQ Server > December 2005 > How to capture number of rows loaded and the time









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to capture number of rows loaded and the time
cd

2005-11-10, 8:25 pm

How can I capture the number of rows loaded and the time it
took
in variables?
John

2005-11-10, 8:25 pm

which method are you using; 'load table' or the 'insert
location' syntax to load your tables?
> How can I capture the number of rows loaded and the time
> it took
> in variables?

cd

2005-11-10, 8:25 pm

I am using load table[color=darkred]

> which method are you using; 'load table' or the 'insert
> location' syntax to load your tables?
maca

2005-11-18, 3:24 am

We use load table too and parse .iqmsg file by script into
table for statistics. It is reason to my request for freeze
.iqmsg format with ISO datetimes and always introduce owner
of object.
[color=darkred]
> I am using load table
maca

2005-11-18, 3:24 am

> How can I capture the number of rows loaded and the time
> it took
> in variables?

We use load table too and parse .iqmsg file by script into
table for statistics. It is reason to my request for freeze
.iqmsg format with ISO datetimes and always introduce owner
of object.
Marc Zampetti

2005-12-02, 9:24 am

cd wrote:
> How can I capture the number of rows loaded and the time it
> took
> in variables?

The number of rows is availabe in the var @@rowcount after the load
table command. For timing, just dump the start time into a var before
the load, and the end time after the load into a seperate table, and you
can compute the load time.

Marc
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com