Testing the connection to the Sybase server

Test the connection to the Sybase data source server to determine if the federated server is properly configured to access Sybase data sources.

About this task

You can test the connection to the Sybase server by using the server definition and user mappings that you defined.

Procedure

Open a pass-through session and issue a SELECT statement on the Sybase system tables.
If the SELECT statement returns a count, your server definition and your user mapping are set up properly.
For example:
SET PASSTHRU server_definition_name
SELECT count(*) FROM dbo.sysobjects
SET PASSTHRU RESET

If the SELECT statement returns an error, you should troubleshoot the connection errors.

What to do next

After you complete this task, you can register nicknames for Sybase tables and views.