title: List visible databases in Teradata SQL Assistant?
body: <p>I am working w the Teradata SQL Assistant. What I am trying to do, is to list all databases visible in the 'Database Explorer'. At first, I have tried simple query:</p>
  
  <pre><code>select DatabaseName from DBC.Databases;
  </code></pre>
  
  <p>but this returned thousands of databases I don't even have an access to. The DBC.Databases table seems not to have any field allowing me to filter results to only visible databases, or I am just unable to find it. And I am almost sure there is no such field in any table like '%database%'.</p>
  
  <p>Is there any way to list those visible databases with SQL query?</p>