HomeForum
Welcome, Guest

Problem with export
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Problem with export

Problem with export 1 year, 1 month ago #2297

  • Michael
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hello

The database we are working with is using Windows SQL 2000 (SP4)

We have been setting up a trail for evaluating the Advanced ETL Processor Enterprise product -

To date it was all quite straightforward, however we have struck a problem with a particular SQL procedure that is showing up as an error when we run the Export Package from the Repository. In the attached document (Package run time log file) you will see the errors that occur for the Export in the third Export for the procedure dealing with a join of 2 tables InvoiceHeader and InvoiceDetail

I can run the procedure in the SQL200 Query Analyser without see any errors and it returns the expected number of rows - 69,114

I suspect it is something to do with the SQL procedure and the way we have constructed the Join -

Would you please review and advise if there is an alternate method to achieve an error free run as at present the errors will cause the Package to fail and in the full package we have a number of procedures that require a table Join to extract the required data for export.

Let me know if you require any further information –

Thank you for your assistance –

Following is the procedure that is used in the Export Package -

select
xx,xx,xx
from InvoiceHeader, InvoiceDetail
Where InvoiceHeader.ID = InvoiceDetail.InvoiceID and cast (floor(cast(Date as float)) as datetime) = '05/31/2010'

Regards
Michael

Re: Problem with export 1 year, 1 month ago #2299

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
InvoiceDetail.InvoiceID and cast (floor(cast(Date as float)) as datetime) = '05/31/2010' <=

This part is regional settings depended

use covert (datetime,'05/31/2010',101) instead

Peter
  • Page:
  • 1
Time to create page: 0.16 seconds

Testimonials

"We used Advanced ETL Processor to give us more flexibility with business automation. And better yet, we always felt that the DBSL support team is a true partner in every sense of the word, assisting us when we needed help"

Carlos Tantis,
Marketing Manager

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top