SQL error

"SAS Sandy Sawmy" <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <[email protected]>
Hello anyone,


During program execution the following SQL statement:
 	SELECT accyer, accper, calsta INTO ls_tranyer, ls_tranper,
ls_calsta
            FROM sy_calendar
            WHERE cpycod = pi_cpycod
             AND modcod = pi_modcod
             AND pi_trandat BETWEEN perstr AND perend

causes a program crash with the error below:
	SQL driver fatal error in SqlHandle.c (line 33)
	Empty sql statement provided



Regards,

Sandy Sawmy
MCS Ltd



====================================================
DISCLAIMER:
Confidential or privileged information may be contained in this message. If you are not the intended recipient of the message, please notify the sender immediately.

Opinions, conclusions and other information expressed in this message are those of the sender, else otherwise stated by the individual sender, to be those of MCS Ltd, to whom no liability shall be attached whatsoever.
*****************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.