Using xp_gettable_dblib

The xp_gettable_dblib extended stored procedure (in Xp_dblib.dll) uses DB-Library to open a bound connection to the same Microsoft® SQL Server™ that called the extended stored procedure. The server returns a result set to the extended stored procedure, which passes the result set to the client, for example:

DECLARE @tablename varchar(25)

SELECT @tablename = 'pubs..authors'

EXECUTE xp_gettable_dblib @tablename

  

This is in a sample only available if you select Dev Tools during setup.

See Also

Using Bound Connections


(c) 1988-98 Microsoft Corporation. All Rights Reserved.