[EXPDEF_1]
/* Filename Platzhalter %TS% (Timestamp), %PP1%,%PP2%,%PP3% (*1000) */
/* Relative Angaben beziehen sich immer auf die ausführende use.exe */
OUTPUT .\Export\use_expcsv_plug\SIMPLE_TEST1_%PP2%.csv
DELIMITER ';'
DATEFORMAT 'dd.mm.yyyy'
TIMEFORMAT 'hh:nn:ss'
QUOTECHAR '"';
SELECT idr,blnr,bldate,name1 from b03lf
where idr = :PP2;
[EXPDEF_1]
/* Filename Platzhalter %TS% (Timestamp), %PP1%,%PP2%,%PP3% (*1000) */
/* Relative Angaben beziehen sich immer auf die ausführende use.exe */
OUTPUT .\Export\use_expcsv_plug\EXECUTE_BLOCK_TEST1_%PP2%.csv
DELIMITER ';'
DATEFORMAT 'dd.mm.yyyy'
TIMEFORMAT 'hh:nn:ss'
QUOTECHAR '"';
EXECUTE BLOCK (
pp2 double precision = :PP2
)
returns (
idr IDR2,
blnr NR,
bldate DATE,
name1 TL
)
as
begin
for select idr,blnr,bldate,name1 from b03lf
where idr = :PP2
into :IDR, :BLNR,:BLDATE,:NAME1 do
begin
suspend;
end
update b03lf set trid = -1
where idr = :PP2;
end;