Hallo,
ich habe folgendes Problem,
wenn ich diesen Select:
select
trunc(mf.timestamp, 'hh') as Datum,
sp.text as Text,
count (*) as Pick
from mfhandling mf,mftype mp,sprachtext sp
where mf.idmftype in (601,602,603,604,605,606,607,608,609,610,611,612,6 13,614,615,616,617,618,619,900)
and mf.idmftype = mp.idmftype
and sp.idtext = mp.idtext
and mf.state >= 800
and mf.Quantity > 0
and sp.idsprache = 'de'
GROUP BY mf.idmftype,sp.text,trunc(mf.timestamp, 'hh')
order by trunc(mf.timestamp, 'hh');
in SQL-Dev. ausführe, bekomme ich folgende ausgabe:
09.10.09 05:00:00 MFTYPE_AKL 204
wenn ich den Select in ein Script verpacke....bekomme ich ein anderes Datum Format:
09-OKT-09 MFTYPE_AKL 204
kann mir jemand einen Tipp geben wie ich das Datum im Script auch so hinbekomme ?
Grüsse Roland
ich habe folgendes Problem,
wenn ich diesen Select:
select
trunc(mf.timestamp, 'hh') as Datum,
sp.text as Text,
count (*) as Pick
from mfhandling mf,mftype mp,sprachtext sp
where mf.idmftype in (601,602,603,604,605,606,607,608,609,610,611,612,6 13,614,615,616,617,618,619,900)
and mf.idmftype = mp.idmftype
and sp.idtext = mp.idtext
and mf.state >= 800
and mf.Quantity > 0
and sp.idsprache = 'de'
GROUP BY mf.idmftype,sp.text,trunc(mf.timestamp, 'hh')
order by trunc(mf.timestamp, 'hh');
in SQL-Dev. ausführe, bekomme ich folgende ausgabe:
09.10.09 05:00:00 MFTYPE_AKL 204
wenn ich den Select in ein Script verpacke....bekomme ich ein anderes Datum Format:
09-OKT-09 MFTYPE_AKL 204
kann mir jemand einen Tipp geben wie ich das Datum im Script auch so hinbekomme ?
Grüsse Roland
Comment