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



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

Answer / reventh

yes you can call a function.
sqlcommand cmd=new sqlcommand("select function
(parametter)");
sqldatareader rdr=cmd.excutereader();
while(rdr.read()
{
do something here;

}

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More SQL Server Interview Questions

What is the diff between Dynamic queries and static queries

1 Answers   CGG, ICS Integrated Computer Solutions,


What stored by the model?

0 Answers  


How many ways to create table-valued functions?

0 Answers  


What have included columns when we talk about sql server indexing?

0 Answers  


Can a database be shrunk with users active?

0 Answers  






What are the authentication modes in SQL Server?

4 Answers   IBM, iSmart,


What is the use of floor function in sql server?

0 Answers  


How can I create a new template for import ? : sql server management studio

0 Answers  


What is the difference between stored procedure and functions?

0 Answers   MCN Solutions,


what is node in sql server?

2 Answers   CarrizalSoft Technologies, Google, NIIT, Nittany, TATA,


How to create nested stored procedure?

0 Answers  


How you can add messages to the nt event log from within a stored procedure?

0 Answers  


Categories