Solved

SqlHelper: Calling a SQL Server Scalar Function

Posted on 2009-04-03
3
1,059 Views
Last Modified: 2012-05-06
How do you call a SQL Server UDF with SqlHelper and return the value?
0
Comment
Question by:johnc66
3 Comments
 
LVL 30

Expert Comment

by:Wayne Barron
ID: 24066157
I do not know if this will assist you or not.
http://www.4guysfromrolla.com/articles/071608-1.aspx

Good Luck
Carrzkiss
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 500 total points
ID: 24069323
Do it like this:
SELECT dbo.udf_YourFunctionGoesHere(ParamValue1, ParamValue2, ...)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now