rguillen
Member²
I using Delphi 7 Enterprease Edition a DOA 3.4.6.4 and Oracle Enreprise Edition 8.1.7.0.0
With Unicode Character Set
My Session in property BytesPerCharacters is set to bcAutoDetect.
when I try the execute the folled query
GeneralQ.SQL.Add('BEGIN');
GeneralQ.SQL.Add(' SELECT * FROM BARD.B_RBCURPERMISOS WHERE USUARIO = BARD;');
GeneralQ.SQL.Add('END;');
Try
GeneralQ.Execute;
Except
On E:EOracleError do ShowMessage(E.Message);
End;
I receive the followed message:
ORA-06550 an INTO clause is espected in this SELECT statement
Can you tell me what is my problem?
With Unicode Character Set
My Session in property BytesPerCharacters is set to bcAutoDetect.
when I try the execute the folled query
GeneralQ.SQL.Add('BEGIN');
GeneralQ.SQL.Add(' SELECT * FROM BARD.B_RBCURPERMISOS WHERE USUARIO = BARD;');
GeneralQ.SQL.Add('END;');
Try
GeneralQ.Execute;
Except
On E:EOracleError do ShowMessage(E.Message);
End;
I receive the followed message:
ORA-06550 an INTO clause is espected in this SELECT statement
Can you tell me what is my problem?