Hi,
I'm trying to use the "SELECT TOP nn" statement in a DTS transform data task and getting an error. The code I'm using is:
SELECT TOP 50 "TMS"."XACSTAT"."XACNUM"
FROM "TMS"."XACSTAT"
The error message I get is:
SQL0104N An unexpected token "50" was found following "SELECT TOP". Expected tokens may include: "<space>". SQLSTATE=42601
So is it not allowed to use the SELECT TOP statement in DTS? Or is there something different I should be doing?
Thanks,
Jimmy211
I'm trying to use the "SELECT TOP nn" statement in a DTS transform data task and getting an error. The code I'm using is:
SELECT TOP 50 "TMS"."XACSTAT"."XACNUM"
FROM "TMS"."XACSTAT"
The error message I get is:
SQL0104N An unexpected token "50" was found following "SELECT TOP". Expected tokens may include: "<space>". SQLSTATE=42601
So is it not allowed to use the SELECT TOP statement in DTS? Or is there something different I should be doing?
Thanks,
Jimmy211