CartoDB / CartoDB-SQL-API

CartoDB SQL API
BSD 3-Clause "New" or "Revised" License
62 stars 63 forks source link

guide for creating tables with SQL API is wrong #664

Open johanez opened 4 years ago

johanez commented 4 years ago

In the guide: SELECT cdb_cartodbfytable({username}, {table_name}); Throws error: column {username} not found.

Correct: use string delimiters for parameters: SELECT cdb_cartodbfytable('{username}', '{table_name}');

same issue on: https://carto.com/help/working-with-data/carto-dataset/