check db empty bulk insert