"David Browne" <davidbaxterbrowne no potted
(E-Mail Removed)> wrote in
message news:e$(E-Mail Removed)...
>
--- Stuff deleted for Brevity
>
> The problem is that it's difficult to get SqlServer to return table
metadata
> information from a stored procedure. It tries to run the proc with SET
> FMTONLY ON, but it's complicated and unreliable.
>
>
Tell me about it. In Crystal Reports, when you attempt to set the
DataSource.Location Property of a report in code, if it's a sproc, it
actually executes the sproc in question whereas if it's a table it makes
some quick system calls to get metadata. I dont even think SET FMTONLY ON
was used. For a report against a giant database that was.....problematic,
especially if there were multiple tables in the report.