Hi, I creat the variable "test" using the sql plus: var test varchar2(10); I´ve been trying to do it wiht PHP: ================================================ $comando1 = "exec var test varchar2(10);"; $controle = OCIParse ($connection, $comando1); if ($controle == false){ echo OCIError($controle)."<BR>"; } $result1 = OCIExecute ($controle); ================================================ I tryed $comando1 using begin and without the exec... with and without the ";" on the end... but I allways have the same message: Invalid SQL Command... can anybody help me??? thanks Bona __________________________ Visite http://www.trama.com.br -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]