10 lines
249 B
SQL
10 lines
249 B
SQL
{% macro create_table_target (model) %}
|
|
{#
|
|
Creates a target table with the same structure and content as the source table.
|
|
Usually used to move data from SQ tables to the target table.
|
|
#}
|
|
select
|
|
*
|
|
from {{ ref(model) }} source_table
|
|
{% endmacro %}
|