![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
-----Original Message----- I created a harvest routine but got an error "...The number of failing rows exceeds the max specified. Transform copy 'DTSTransofmration_ Conversion error: Conversion invalid for datatypes on column pair (source column EbEmpNumber(DBTYPE_WSTR), destination column EMPLOYEE_NUMBER(DBTYPE_I4). So I tried including a CONVERT function in my SQL query so my entire query looked like: SELECT EBase.EbClock, '999999999' as COMPANY_SYS_ID, EBase.EbFirstName, EBase.EbMiddleName, EBase.EbLastName, EJob.EjTitle, CONVERT(int, EBase.EbEmpNumber) FROM EEmploy, EBase, EJob WHERE EEmploy.EeFlxIDEb = EBase.EbFlxID AND EBase.EbFlxID = EJob.EjFlxIDEb AND (EEmploy.EeStatus = 'active') AND (EEmploy.EeDateEnd IS NULL) AND (EJob.EjDateEnd IS NULL) ORDER BY EBase.EbLastName When I try to preview the query I get the error: "undefined function 'CONVERT' in the query. I have tried using CAST also and have checked and rechecked my syntax. Any ideas would be much appreciated. Thank you. Mary . |
![]() |
| Thread Tools | |
| Display Modes | |
| |