To do multible compids, use the following script:
php /var/www/html_j3sg/institutions/ChangeCompidOfAllInstitutionalAfewCompaniesAtATime.php
Please note that the script mentioned above (ChangeCompidOfAllInstitutionalAfewCompaniesAtATime) only updates the current13FFilingpositions table, no archived tables.

This script actual updates 13F current table as well as both archive13F tables.

We got coming in compid: : 133529
SELECT companies.* , sectors.level3des FROM companies, sectors WHERE companies.sector = sectors.level3num and compid = '133529'

The Shares Amount is 23673000

The cusip is 655053106
NOT OLD

Retrive Rows from Table:
select * from current13Fpositions where cusip = '655053106'
Number of Rows :11

update current13Fpositions set compid = '133529', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001034258' , percentOut = '6.76' where entryId = '3731929'
update current13Fpositions set compid = '133529', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001034258' , percentOut = '6.38' where entryId = '9341997'
update current13Fpositions set compid = '133529', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001034258' , percentOut = '1.36' where entryId = '9756211'
update current13Fpositions set compid = '133529', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001034258' , percentOut = '13.18' where entryId = '10243983'
update current13Fpositions set compid = '133529', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001034258' , percentOut = '37.98' where entryId = '11893858'
update current13Fpositions set compid = '133529', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001034258' , percentOut = '1.21' where entryId = '12987262'
update current13Fpositions set compid = '133529', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001034258' , percentOut = '0' where entryId = '14825734'
update current13Fpositions set compid = '133529', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001034258' , percentOut = '0.54' where entryId = '16938989'
update current13Fpositions set compid = '133529', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001034258' , percentOut = '168.11' where entryId = '17100657'
update current13Fpositions set compid = '133529', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001034258' , percentOut = '0' where entryId = '17226296'
update current13Fpositions set compid = '133529', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001034258' , percentOut = '0.85' where entryId = '17529690'
End Function

Retrive Rows from Table:
select * from archive13F where cusip = '655053106'
Number of Rows :0

End Function
The Script is complete, exiting....