home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.oracle      Overblown overpriced overengineered SHIT      2,288 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 565 of 2,288   
   Florian Marinoiu to All   
   How to assign a value to a variable   
   22 Oct 03 18:05:37   
   
   XPost: comp.database.oracle, comp.databases.oracle.misc   
   From: x@x.com   
      
   Hi,   
      
   I have the following MS-SQL Server statement that I want to convert to   
   ORACLE 8.1   
   SET @pPhone = '%' + @pPhone + '%'   
      
   In ORACLE I tried   
   SELECT '%' || pPhone || '%' into pPhone from dual;   
      
   Where pPhone is a parameter that is passed to the procedure.   
      
   How could I do it?   
      
   Is it a set in ORACLE?   
      
   Thanks,   
   Florian   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca