468,766 Members | 1,484 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,766 developers. It's quick & easy.

Execute Extended Stored Procedure in user defined function

Hello,

I am trying to execute an Extended Stored Procedure in a User Defined Function I wrote. It really is quite simple but I get an error saying
"Only functions and extended stored procedures can be executed from within a function." All I am trying to do is parse an XLM string by calling


EXEC @intErrorCode = dbo.sp_xml_preparedocument @XMLHandler OUTPUT, @String

@string is a string

any help would be greatly appreciated.

Gary
Nov 1 '06 #1
0 2177

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Tim Marshall | last post: by
3 posts views Thread by Bilbo | last post: by
10 posts views Thread by John Bailo | last post: by
1 post views Thread by shsandeep | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.