Hi,

With executing the statement below:

COPY SELECT * FROM adv LIMIT 10 INTO 'D:/exp.txt'

I get the following error:

!TypeException: user.s0_1[4703]:'aggr.count' undefined in : tuples:wrd :=aggr.count(_4695:str)
!SQLException:SQLengine:Program contains errors

What am I doing wrong?

Thanks

Nafees