If you encounter a problem that you cannot resolve using the manuals, ask the designated person at your site to contact Technical Support.
If a problem occurs while you are trying to access remote data, execute the same script against a local table. If the problem does not exist on the local table, it is specific to Component Integration Services and you should continue through this list.
select @@version
Note the SQL script that reproduces the problem. Include the script that was used to create the tables.
set showplan, noexec on go select au_lname, au_fname from authors where au_id = 'A1374065371' go
The output for this query looks like this:
set showplan, noexec on go select au_lname, au_fname from authors where au_id = 'A1374065371' go The Abstract Plan (AP) of the final query execution plan: ( remote_sql ) To experiment with the optimizer behavior, this AP can be modified and then passed to the optimizer using the PLAN clause: SELECT/INSERT/DELETE/UPDATE ... PLAN '( ... ) QUERY PLAN FOR STATEMENT 1 (at line 1). 1 operator(s) under root The type of query is SELECT. ROOT:EMIT Operator |LE_REMSCANOP Operator | SELECT "au_lname" , "au_fname" FROM pubs2.dbo."authors" WHERE "au_ | id" = 'A1374065371'
The noexec option compiles the query, but does not execute it. No subsequent commands are executed until noexec is turned off.
11201 – client connect, disconnect, and attention events.
11202 – client language, cursor declare, dynamic prepare, and dynamic execute-immediate text.
11203 – client RPC events.
11204 – messages routed to client.
11205 – interaction with remote servers.
11206 – logs file and directory processing steps.
11207 – logs text and image processing.
dbcc traceon (11201,11202,11203,11204,11205) go select au_lname, au_fname from authors where au_id = 'A1374065371' go dbcc traceoff (11201,11202,11203,11204,11205) go
server TDS_LANG, spid 15: command text: select au_lname, au_fname from authors where au_id = 'A1374065371' server RemoteAccess constructed server EXECLANG, spid 15, server huntington0_19442, quickpass statement: ELECT "au_lname" , "au_fname" FROM pubs2.dbo."authors" WHERE "au_id" = 'A1374065371' server BINDCOLS, spid 15: column 1, name au_lname, fmt.type 'CHAR', fmt.maxlen 40, fmt.stat 16, con.type 'VARCHAR', con.maxlen 40 server BINDCOLS, spid 15: column 2, name au_fname, fmt.type 'CHAR', fmt.maxlen 20, fmt.stat 16, con.type 'VARCHAR', con.maxlen 20 server BINDCOLS, spid 15: bind array size 50, total memory required is 4304 bytes server FETCH , spid 15: cursor C1; ct_fetch() returned 0 rows; status -204 server RemoteAccess deleted
This tracing is global, so once the trace flags are turned on, any query that is executed is logged; therefore, turn tracing off once you have your log. Also, clean out the error log periodically by bringing the server down, renaming the error log, and restarting the server. This creates a new error log.