Hi,
When connecting to a DB2 environment using the Microsoft OLE DB Provider for DB2, I sometimes run into permission issues:
- Using the OPENQUERY syntax, the query runs fine,
- Using the four part name syntax, I receive the following error message:
Msg 7357, Level 16, State 2, Line 1
Cannot process the object ""[DB]"."[schema]"."[table]"". The OLE DB provider "DB2OLEDB" for linked server "[server]" indicates that either the object has no columns or the current user does not have permissions on that object.Is security somehow applied differently between the two approaches? Or can someone give me another explanation for this behavior?