Skip to content

Instantly share code, notes, and snippets.

View jaketclarke's full-sized avatar

Jake Clarke jaketclarke

View GitHub Profile
@jaketclarke
jaketclarke / census_2016_normalise_table.sql
Last active July 17, 2017 05:10
MySQL stored procedure to tidy up 2016 census tables
BEGIN
declare db varchar(100);
declare dbnew varchar(100);
declare geog varchar(5);
declare tbl varchar(100);
declare tblnew varchar(100);
declare keycolumn varchar(20);
declare keytest int;
declare keytype varchar(20);