Update tab.sql

Object did not have not null check