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

The Shares Amount is 45715000

The cusip is 891479107
NOT OLD

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

End Function

Retrive Rows from Table:
select * from archive13F where cusip = '891479107'
Number of Rows :12

update archive13F set compid = '134099', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001063197' where entryId = '79779438'
update archive13F set compid = '134099', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001063197' where entryId = '81894934'
update archive13F set compid = '134099', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001063197' where entryId = '84074721'
update archive13F set compid = '134099', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001063197' where entryId = '86020559'
update archive13F set compid = '134099', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001063197' where entryId = '87762171'
update archive13F set compid = '134099', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001063197' where entryId = '89912735'
update archive13F set compid = '134099', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001063197' where entryId = '92276773'
update archive13F set compid = '134099', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001063197' where entryId = '94523483'
update archive13F set compid = '134099', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001063197' where entryId = '96649112'
update archive13F set compid = '134099', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001063197' where entryId = '98562837'
update archive13F set compid = '134099', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001063197' where entryId = '101776547'
update archive13F set compid = '134099', sectorNum = '101003', sectorDes = 'Auto Parts', issuerCik = '0001063197' where entryId = '103717432'
End Function
The Script is complete, exiting....