Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: Initialization of variables in functions

From: Anhaus, Thomas <thomas.anhaus(at)sap.com>
Date: Tue Sep 25 2007 - 02:22:08 EDT


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@sap.com
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@gmx.de [mailto:spikerlion@gmx.de]
> Sent: Montag, 24. September 2007 13:56
> To: maxdb@lists.mysql.com
> 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@sap.com
>
>

-- 
MaxDB Discussion Mailing List
For list archives: 
http://lists.mysql.com/maxdb
To unsubscribe:    
http://lists.mysql.com/maxdb?unsub=lists@pantek.com
Received on Tue Sep 25 02:22:31 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:14:38 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library