Skip to content

Instantly share code, notes, and snippets.

Sometimes you have to move data from one table to a different one. You usually use

insert into target select * from source

This works but have several problems:

  1. materialized columns are not properly copied
  2. it's slow
// ==UserScript==
// @name Dowmload VSIX
// @namespace http://tampermonkey.net/
// @version 1.0.0
// @description This userscript allows you to download VSIX files directly from the Visual Studio Marketplace
// @updateURL https://gist.githubusercontent.com/Sigmanor/8e367568ba3dd88b8a2c30fb7ec083e3/raw/script.user.js
// @downloadURL https://gist.githubusercontent.com/Sigmanor/8e367568ba3dd88b8a2c30fb7ec083e3/raw/script.user.js
// @author sigmanor
// @homepageURL https://github.com/Sigmanor
// @match https://marketplace.visualstudio.com/*