Hi,
I have a stock file which contains at least 1 million records from June, 2009. It is very bulky and taking too much time for any inquiry about the products. I want to send all these records in history file and want to keep only current year (2014) records in order for fast processing.
Suppose current file is in k:\newfas\stock.dbf {01/01/2014 to 17/10/2014} and want to copy the same name file in history like k:\newfas\history\stock.dbf {01/06/2009} to {31/12/2013}.
Now, I want to fetch records from {01/08/2013} to {31/05/2014} from both the files using SQL Select. How can I do so?
Structure of Stock.dbf is as follows:
1. Reference c(8)
2. cDate d
3. Icode c(10)
4. Qntymaj N(10,3)
5. Qntymin N(10,3)
6. Warehouse c(5)
dt1 = {01/08/2013}
dt2 = (31/05/2014}
Please guide..
Thanks
Saif
I have a stock file which contains at least 1 million records from June, 2009. It is very bulky and taking too much time for any inquiry about the products. I want to send all these records in history file and want to keep only current year (2014) records in order for fast processing.
Suppose current file is in k:\newfas\stock.dbf {01/01/2014 to 17/10/2014} and want to copy the same name file in history like k:\newfas\history\stock.dbf {01/06/2009} to {31/12/2013}.
Now, I want to fetch records from {01/08/2013} to {31/05/2014} from both the files using SQL Select. How can I do so?
Structure of Stock.dbf is as follows:
1. Reference c(8)
2. cDate d
3. Icode c(10)
4. Qntymaj N(10,3)
5. Qntymin N(10,3)
6. Warehouse c(5)
dt1 = {01/08/2013}
dt2 = (31/05/2014}
Please guide..
Thanks
Saif