Is there a way in Big query to execute dynamic queries something like 'EXEC' in sql server?
问题 I have a table with over 200 column names which are created with a temporary name like - custColum1 -custColum200. I have a mapping table which contains a list of custColum1-custColumn200 to which name it has to be mapped with. For example Table1(custColum1,custColum2) Mappingtable(tempColumnName,RealColumnName) data in mapping table be like (custColum1,Role_number) (custColum2,Person_name) I need to change table 1 to Table1(Role_number,Person_name). Note: I cannot create table1 with this