![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 18 May 2006 @ 14:22:16 GMT
> 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 ...;
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||