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

The Shares Amount is 6770000

The cusip is 73933F204
NOT OLD

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

End Function

Retrive Rows from Table:
select * from archive13F where cusip = '73933F204'
Number of Rows :11

update archive13F set compid = '136267', sectorNum = '102003', sectorDes = 'Electronic Equipment', issuerCik = '0000894536' where entryId = '66276463'
update archive13F set compid = '136267', sectorNum = '102003', sectorDes = 'Electronic Equipment', issuerCik = '0000894536' where entryId = '68018172'
update archive13F set compid = '136267', sectorNum = '102003', sectorDes = 'Electronic Equipment', issuerCik = '0000894536' where entryId = '64542054'
update archive13F set compid = '136267', sectorNum = '102003', sectorDes = 'Electronic Equipment', issuerCik = '0000894536' where entryId = '68911514'
update archive13F set compid = '136267', sectorNum = '102003', sectorDes = 'Electronic Equipment', issuerCik = '0000894536' where entryId = '90816563'
update archive13F set compid = '136267', sectorNum = '102003', sectorDes = 'Electronic Equipment', issuerCik = '0000894536' where entryId = '92571640'
update archive13F set compid = '136267', sectorNum = '102003', sectorDes = 'Electronic Equipment', issuerCik = '0000894536' where entryId = '94374421'
update archive13F set compid = '136267', sectorNum = '102003', sectorDes = 'Electronic Equipment', issuerCik = '0000894536' where entryId = '96561313'
update archive13F set compid = '136267', sectorNum = '102003', sectorDes = 'Electronic Equipment', issuerCik = '0000894536' where entryId = '98788927'
update archive13F set compid = '136267', sectorNum = '102003', sectorDes = 'Electronic Equipment', issuerCik = '0000894536' where entryId = '100818887'
update archive13F set compid = '136267', sectorNum = '102003', sectorDes = 'Electronic Equipment', issuerCik = '0000894536' where entryId = '103292676'
End Function
The Script is complete, exiting....