Link to home
Start Free TrialLog in
Avatar of tr_pradeep
tr_pradeep

asked on

How to call User Defined Function Thru VB

I have created User Defined Function(UDF) in MS SQL SERVER and want to call it thru vb. Foll is the function :
CREATE FUNCTION fn_Major ()
RETURNS Int AS  
BEGIN
return (5)
END

After i execute this fn in VB i want the return value ie;5
ASKER CERTIFIED SOLUTION
Avatar of TimCottee
TimCottee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CleanupPing
CleanupPing

tr_pradeep:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
Avatar of DanRollins
Moderator, my recommended disposition is:

    Accept TimCottee's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer