I have read many posts here about Updating Statistics on the Progress Database but what can I do if I do NOT have permissions to do anything BUT read tables and import data? I am running a query...
SELECT
* FROM OPENQUERY([HAGEN], 'SELECT "Job-ID", "Entry-Number", "Sub-Job-ID", "Form-ID", "Employee-ID", "Batch-Number", "Work-Type-ID", "Work-Center-ID", "Work-Center-Complete", "Activity-ID", "Entry-Type", "Date-Change", "Date-Actual", "Time-Actual", "Start-Status", "Start-Time", "Stop-Time", "Update-By", "Update-Date", "Update-Time", "Task-Complete"
FROM PUB.ShopFloorEntry
WHERE "Job-ID" = ''28999''')
The Progress database was created by an outside vendor and I cannot do anything but import data to my SQL Server Database and I do so using a linked Server connected by ODBC.
So far I can't even count the records on this Progress table. It's runs forever. I'm thinking there are a couple of million records and I realize its probably having to scan all the records. Is there a way to add an index (temporary) to my query so I can complete this query?
Thanks!
Mike
SELECT
* FROM OPENQUERY([HAGEN], 'SELECT "Job-ID", "Entry-Number", "Sub-Job-ID", "Form-ID", "Employee-ID", "Batch-Number", "Work-Type-ID", "Work-Center-ID", "Work-Center-Complete", "Activity-ID", "Entry-Type", "Date-Change", "Date-Actual", "Time-Actual", "Start-Status", "Start-Time", "Stop-Time", "Update-By", "Update-Date", "Update-Time", "Task-Complete"
FROM PUB.ShopFloorEntry
WHERE "Job-ID" = ''28999''')
The Progress database was created by an outside vendor and I cannot do anything but import data to my SQL Server Database and I do so using a linked Server connected by ODBC.
So far I can't even count the records on this Progress table. It's runs forever. I'm thinking there are a couple of million records and I realize its probably having to scan all the records. Is there a way to add an index (temporary) to my query so I can complete this query?
Thanks!
Mike