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 database black box testing?

0 Answers  


What is a join and their types?

2 Answers   Challenger Financial,


How to invoke a trigger on demand?

0 Answers  


What is the use of stored procedure?

0 Answers  


what is maximum size of temp db?

4 Answers   iSoft,






What is the importance of concurrency control?

0 Answers  


How to create nested stored procedure?

0 Answers  


what is DTS what are tasks available

1 Answers   Wipro,


What is the cpu pressure?

0 Answers  


What is difference between order by and group by?

0 Answers  


What is the differecne between equi-join and inner-join and natural join..Is there any difference or all are same?

8 Answers   Microsoft,


What are alternate keys?

0 Answers  


Categories