Monday, 27 June 2022

Hive: print all the databases

Syntax

SHOW DATABASES;

 

hive> SHOW DATABASES;
OK
default
demo_db1
demo_db2
Time taken: 0.009 seconds, Fetched: 3 row(s)

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment