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: : 131060
SELECT companies.* , sectors.level3des FROM companies, sectors WHERE companies.sector = sectors.level3num and compid = '131060'

The Shares Amount is 142707000

The cusip is 089544100
NOT OLD

Retrive Rows from Table:
select * from current13Fpositions where cusip = '089544100'
Number of Rows :0

End Function

Retrive Rows from Table:
select * from archive13F where cusip = '089544100'
Number of Rows :19

update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '67142476'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '65980689'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '63597114'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '69930832'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '70836990'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '72176556'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '74308949'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '76749366'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '90582335'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '92323209'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '95097078'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '97406331'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '99909288'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '101972594'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '105402228'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '106694916'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '110000913'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '111654176'
update archive13F set compid = '131060', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001075247' where entryId = '114769959'
End Function
The Script is complete, exiting....