use provisioning SELECT id INTO @vpgid FROM voip_preference_groups WHERE name = 'Call Blockings'; INSERT INTO voip_preferences(id,voip_preference_groups_id, attribute, label, type, max_occur, usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, modify_timestamp, internal, expose_to_customer, data_type, read_only, description) VALUES (NULL,@vpgid,'adm_cf_ncos_id','Internal Administrative NCOS Level for Call Forward #',1,1,1,1,1,0,0,NULL,1,0,'int',0,NULL), (NULL,@vpgid,'adm_cf_ncos','Administrative NCOS Level For Call Forward',0,1,1,1,1,0,0,NULL,-1,0,'string',0,'Specifies the Administrative NCOS Level that applies for the Call Forward from the user.');