Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 18 May 2006 @ 14:22:16 GMT


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


Subj:   Re: Bteq with .Repeat * Using
 
From:   Geoffrey Rommel

> I'm getting an syntax error on username

          > create user :username from DBS_users

This is because you cannot put a host variable in this position. I can't find the full list of rules, but the gist is that host variables can only be put where a literal could be. So just as you cannot say

     create user 'bob' ...;

you also cannot say

     create user :username ...;


     
  <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