Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I want to know, how to delete the last row in a table.
Date:
Load Date
,Time
,Year
from Somthing.qvd;
Here I want to know How to delete the last row of the Date table.?
Thanks in advance.
Regards,
Kabilan K
Hi
If you are loading from a qvd, you can use QvdNoOfRecords() to get the number of rows in a qvd.
Let vRows = QvdNoOfRecords('mydata.qvd) - 1;
First($vRows) Load .... From mydata.qvd;
Hope that helps
Jonathan
always has the same number of rows or increase this number?
you could use ..
First (10) Load ...... from ABC.CSV
(10) REPLACE WITH YOUR NUMBERS OF ROWS.
or
if you know the date
WHERE date < 'YYYY-MM-DD'
Hi
If you are loading from a qvd, you can use QvdNoOfRecords() to get the number of rows in a qvd.
Let vRows = QvdNoOfRecords('mydata.qvd) - 1;
First($vRows) Load .... From mydata.qvd;
Hope that helps
Jonathan