![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 07 Oct 2004 @ 22:24:26 GMT
Here another possibility, for what it's worth. I'm havin' fun now.
select databasename, accountname
from dbc.databases
order by case when accountname = '$M2$&LAdhoc' then
substr(accountname,7) else substr(accountname,6) end;
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||