User Defined Functions for MSSQL (using DELPHI)

Hello

   Has anyone every created a UserDefined StoredProc for MSSQL (I belive
it is called Microsoft Open Data Services (ODS) in DELPHI.

  I understand that these storedprocs are usually created in C (using MS
ODS API'S).

 But maybe there is a Delphi Component or Class that can help "simplify
things".

 * needed to connect to a service through sockets when a trigger is
fired.

Thanx in advance,

EB