\set cnt1 random(1, 100) BEGIN; SELECT big01 FROM tbl_:cnt1 LIMIT 1; END;