Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello.
I want to Store Data into QVD, TEXT File and EXCEL File.
Please consider the below example and let me know how to generate csv and txt file.
DATA_UPLOAD:
SELECT * FROM TABLE_ABC
STORE DATA_UPLOAD INTO
STORE DATA_UPLOAD INTO [C:\Local\TEXT.csv];
STORE DATA_UPLOAD INTO [C:\Local\TEXT.txt];
DROP TABLE DATA_UPLOAD ;
Thanks a lot.
Kumar
Hi Laxmana,
DATA_UPLOAD:
SELECT * FROM TABLE_ABC
STORE DATA_UPLOAD INTO
STORE DATA_UPLOAD INTO
If you feel you got the solution for your issue, please close this thread by clicking "Correct Answer"
Try like below,
store DATA_UPLOAD into C:\Local\Data.qvd (qvd);
Store DATA_UPLOAD into C:\Local\Data.csv (txt) ;
Store DATA_UPLOAD into C:\Local\Data.txt (txt) ;
DROP TABLE DATA_UPLOAD;
csv output is not possible...
STORE DATA_UPLOAD INTO
STORE DATA_UPLOAD INTO
Hi Robin,
Of course it is possible. Please take a look at reference manual under "Store" statement.
CSV is very same as TXT so since QV 8.5 or 9 when storing to txt was released it is possible to create csv files also.
BR,
Milosz
Hi Laxmana,
DATA_UPLOAD:
SELECT * FROM TABLE_ABC
STORE DATA_UPLOAD INTO
STORE DATA_UPLOAD INTO
If you feel you got the solution for your issue, please close this thread by clicking "Correct Answer"
I meant csv in terms of character separated value with configurable delimiter...
I think this is not possible?!?
Hi Robin,
You can define delimiter as shown below:
Store DATA_UPLOAD into C:\Local\Data.csv (txt, delimiter is ';') ;
BR,
Milosz
this is absolutely great ... where do you have that information from? From the reference manual? ( I don't have it here at the moment)
You can't read anything about it here:
This can be confusing because they didn't add this into "Store" statement. However you can find it here:
BR,
Milosz
yes it is confusing, because I know this option from the LOAD statement, but never had the idea using it with store statement... because it is clearly defined as (qvd | txt).
However, now I know it