List:MaxDB« Previous MessageNext Message »
From:spikerlion Date:September 24 2007 11:56am
Subject:Initialization of variables in functions
View as plain text  
Hello,

is there a possibility to initialize variables during the deklaration or have I always set
a value with an second statement?

Example in MySQL:
declare <variable> varchar(200) DEFAULT 'test';
Example in Oracle:
<variable> VARCHAR2(200)  := 'test';

With Oracle or MySQL I only need one statement.


Regards,
Spiker
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
Thread
Initialization of variables in functionsspikerlion24 Sep
  • RE: Initialization of variables in functionsThomas Anhaus25 Sep