From d6d03f39809555eb7ec38f5867a8379481b2d660 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 11 Jan 2021 23:31:52 -0500 Subject: [PATCH] notes on altering column type with operation --- postgres/postgres.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/postgres/postgres.md b/postgres/postgres.md index eb20069..47ca954 100644 --- a/postgres/postgres.md +++ b/postgres/postgres.md @@ -27,3 +27,6 @@ ORDER BY LIMIT 100; ``` +Alter Column +========================================================== +ALTER TABLE rlarp.pcore ALTER COLUMN pack SET DATA TYPE numeric USING pack::numeric