The script below writes to a file when all the
values of 'column2' = 'TEST'.
If it's true, no problem, the file is created otherwise
I get 'Invalid pointer' error :
---------------------------------------------------
IF (SELECT COUNT(*) FROM TABLEA where substring
(column2,1,4) = 'TEST')
=
(SELECT COUNT(*) FROM TABLEA )
BEGIN
SELECT * from TABLEA
END
--------------------------------------------------
Any suggestions?
Ton
values of 'column2' = 'TEST'.
If it's true, no problem, the file is created otherwise
I get 'Invalid pointer' error :
---------------------------------------------------
IF (SELECT COUNT(*) FROM TABLEA where substring
(column2,1,4) = 'TEST')
=
(SELECT COUNT(*) FROM TABLEA )
BEGIN
SELECT * from TABLEA
END
--------------------------------------------------
Any suggestions?
Ton