Created
November 1, 2016 10:17
-
-
Save ramiroaznar/c0947649ccb04b0368ec930c4712af12 to your computer and use it in GitHub Desktop.
How to get the list of tables of CARTO user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* showing all user tables */ | |
select * from CDB_UserTables() | |
/* showing tables with a specific name */ | |
with a as (select * from CDB_UserTables()) | |
select * from a where cdb_usertables ilike 'table_name' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment