Subject: RE: Initialization of variables in functions 2007-09-25 - By Anhaus, Thomas
Back Sorry, currently this is not possible. You always have to initialize the variable via an additional statement. Maybe we will change this in the future.
Best Regards, Thomas
Thomas Anhaus MaxDB&liveCache SAP AG mailto: thomas.anhaus@(protected) www.sap.com Sitz der Gesellschaft/Registered Office: Walldorf, Germany Vorstand/SAP Executive Board: Henning Kagermann (Sprecher/CEO), L?o Apotheker (stellvertretender Sprecher / Deputy CEO), Werner Brandt, Claus Heinrich, Gerhard Oswald, Peter Zencke Vorsitzender des Aufsichtsrats/Chairperson of the SAP Supervisory Board: Hasso Plattner Registergericht/Commercial Register Mannheim No HRB 350269
Diese E-Mail kann Betriebs- oder Gesch?ftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrt?mlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielf?ltigung oder Weitergabe der E-Mail ausdr?cklich untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank.
This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.
> -- --Original Message-- -- > From: spikerlion@(protected) [mailto:spikerlion@(protected)] > Sent: Montag, 24. September 2007 13:56 > To: maxdb@(protected) > Subject: Initialization of variables in functions > > 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 > > -- > MaxDB Discussion Mailing List > For list archives: http://lists.mysql.com/maxdb > To unsubscribe: > http://lists.mysql.com/maxdb?unsub=thomas.anhaus@(protected) > >
-- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=mysql@(protected)
|
|