Subject Re: [firebird-support] Select...Into vs Assignment
Author Ivan Prenosil
> In PSQL is there a difference between these 2 statements:
>
> select CREATEGUID() from RDB$DATABASE into :USERID;

Or you can use this as well:

select CREATEGUID() from rdb$database left join rdb$relations on
rdb$database.rdb$relation_id=rdb$relations.rdb$relation_id left join rdb$procedures on
rdb$relations.rdb$relation_id=rdb$procedures.rdb$procedure_id into :USERID;


>
> -and-
>
> USERID = CREATEGUID();

This is what I use.

Ivan