Insert into Table Select * from Table #399
-
Thanks @jeffreyaven that really helps. One more related query, if I want to clone a resource. I am not able to do a 'Insert into Table Select * from Table'. I have to do a Select first and then do a subsequent Insert. Is this feature in your backlog list. This will be quite helpful in my case. Thanks.
Error below |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
hey @vwake7 this issue is you aren't supplying the required parameters to the Insert into azure.resources.resource_groups( resourceGroupName, subscriptionId, data__location)
select 'vmss-flex', '631d1c6d-2a65-43e7-93c2-688bfe4e1468', location from azure.resources.resource_groups
where subscriptionId = '631d1c6d-2a65-43e7-93c2-688bfe4e1468'
This should work |
Beta Was this translation helpful? Give feedback.
hey @vwake7 this issue is you aren't supplying the required parameters to the
SELECT
query, try something like:azure.resources.resource_groups
requiressubscriptionId
as a required param, you can see this inSHOW METHODS IN azure.resources.resource_groups
(check theselect
SQLVerb
values forrequiredParams
)This should work