Please, help me...
I have this code - in Oracle:
declare
t char(10) := 'qwerty';
begin
select t
into t
from dual;
dbms_output.put_line(t);
end;
OK, code is ready, but I want use this code in Informix 4GL and there is problem:
DATABASE MyDtb;
DEFINE
t CHAR(10),
c01 CHAR(10),
c02 CHAR(10);
MAIN
LET t = 'qwerty';
SELECT col01, col02, t
INTO ...
FROM <any table>;
END MAIN
I want use My variable (t) in query, in select section...
Thanks.
I have this code - in Oracle:
declare
t char(10) := 'qwerty';
begin
select t
into t
from dual;
dbms_output.put_line(t);
end;
OK, code is ready, but I want use this code in Informix 4GL and there is problem:
DATABASE MyDtb;
DEFINE
t CHAR(10),
c01 CHAR(10),
c02 CHAR(10);
MAIN
LET t = 'qwerty';
SELECT col01, col02, t
INTO ...
FROM <any table>;
END MAIN
I want use My variable (t) in query, in select section...
Thanks.