Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 13 Feb 2008 @ 09:07:01 GMT


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


Subj:   PROBLEM WITH INTO...
 
From:   sreenivasa.akula

Hi,

I HAVE QUERY IN ORACLE AS

     SELECT TO_DATE(SYSDATE AS 'YY-MM-DD')INTO V_DATE1 FROM DUAL;

NOW I'M TRYING TO WRITE THE SAME QUERY IN TERADATA AS

     SELECT CAST(CURRENT_DATE AS FORMAT 'YYYY-MM-DD') INTO V_DATE1;

BUT IT GIVING ERROR AS INTO CLAUSE IS NOT ALLOWED..

CAN ANY ONE PLZ HELP ON THIS..WITH ALTERNATE WAY..


THANK U IN ADVANCE.



     
  <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: 27 Dec 2016