adspace


How can we call UDF(User Define Function) using C# code in
ASP.net ?

Answer Posted / Dhiraj Singh Garbyal

In ASP.NET, you can call User Defined Functions (UDFs) by adding the function to a SQL Server Stored Procedure and then calling that stored procedure from your C# code.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between openrowset and openquery?

1207


How to convert character strings into numeric values?

1196


Does view occupy space?

1031


You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?

1221


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

1031


What is the difference between upgrade and migration in sql server?

1191


What is temporary table in sql server? Why we use temp table?

1027


What is the difference between for xml raw and for xml auto?

1125


What are the different subsets of sql?

1661


Explain “row_number()” in sql server with an example?

1086


How can we solve concurrency problems?

1129


What is the primary use of the model database?

1156


List the ways in which dynamic sql can be executed?

1094


Can one drop a column from a table?

1098


What is a scheduled job or what is a scheduled task?

1043