Home All Groups Group Topic Archive Search About
Author
27 May 2005 9:44 PM
Brad White
I'm finding lots of code samples for writing extended procs, but *all* of
them
do nothing with SQL.  Hello or calculating free disk space are common
examples.
I'm writing a sp because I want to work with SQL data.  How do I do
that from an xp?
Do I have to go back around through ADO?
I would think that ODS would have a method in the API to interact with
the data, but you can't tell that from the sample code I've found so far.

--
Thanks,
Brad.

Author
27 May 2005 11:44 PM
Michael C#
Normally an XP will perform functions that aren't available (or aren't fast
enough) via standard T-SQL.  If all you want to do is execute standard T-SQL
statements against your database, you probably want to write a regular SP.

Show quoteHide quote
"Brad White" <bwhite at inebraska . com> wrote in message
news:%23v1TOVwYFHA.3132@TK2MSFTNGP09.phx.gbl...
> I'm finding lots of code samples for writing extended procs, but *all* of
> them
> do nothing with SQL.  Hello or calculating free disk space are common
> examples.
> I'm writing a sp because I want to work with SQL data.  How do I do
> that from an xp?
> Do I have to go back around through ADO?
> I would think that ODS would have a method in the API to interact with
> the data, but you can't tell that from the sample code I've found so far.
>
> --
> Thanks,
> Brad.
>
>
>

Bookmark and Share