Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
user-azadi
Contributor III
Contributor III

instead of Timestamp sql function in QV Load Script

Hello All...

i have this syntax in sql syntax :

----------------------------------------------

SQL

SELECT

   Year

  ,Month

  ,GacBranchRef

,GacSecondDetailAccountRef

,GacFourthDetailAccountRef

,sum(Credit) - sum(Debit) as mandeh

      , Date(Floor(Timestamp(item.VoucherDate,'DD/MM/YYYY hh:mm:ss')),'DD.MM.YYYY') as VoucherDate

FROM

----------------------------------------------

when i run that  in qv script , don't identify Timestamp function (and maybe Date function) .because sql haven't Timestamp function, and maybe Date function)

what must i to do?

12 Replies
user-azadi
Contributor III
Contributor III
Author

Unfortunately show same message...

rohitraut
Creator
Creator

Please provide the sample data....

Kushal_Chawda

try this

SQL

SELECT

   Year

  ,Month

  ,GacBranchRef

,GacSecondDetailAccountRef

,GacFourthDetailAccountRef

,sum(Credit) - sum(Debit) as mandeh

,CONVERT(date, item.VoucherDate) as VoucherDate

FROM