Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 05 Jul 2004 @ 16:42:13 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   String variable concatenation in a Stored Procedure
 
From:   Kepinski, Marek

Hi,

How can I concatenate a string variable in a stored procedure? I want to concatenate a variable in few steps but with the second step I get "Variable too long" error.

Here is an example of a code that I want to use:

     DECLARE var1 VARCHAR(20000);

     set var1 = 'AAA';
     set var1 = var1 || 'BBB';

TIA,

Mark



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023