Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

big query add table rows to another table

#standardSQL
INSERT INTO `project.dataset.copy_to_table` (id, parameter1, parameter2) 
SELECT
  id,
  parameter1,
  parameter2
FROM 
  `project.dataset.copy_from_table`
  
# For all columns
INSERT INTO `project.dataset.copy_to_table`
SELECT * FROM `project.dataset.copy_from_table`
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #big #query #add #table #rows #table
ADD COMMENT
Topic
Name
2+4 =