How can we call UDF(User Define Function) using C# code in
ASP.net ?
Answer Posted / 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 View All Answers
What happens when unicode strings concatenate with non-unicode strings?
Write an SQL query to obtain the 2nd highest salary.
Explain the different types of joins?
Why use “in” clause in sql server?
What is the sql server 2000 version number?
Explain different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?
You want to implement the one-to-many relationship while designing tables. How would you do it?
How do I repair damaged sql server mdf file database? In previous day my mdf file has got damage due to unknown reasons then I used dbcc chekcdb command but it failed, MDF file is important for me, I don’ know that how to get back mdf file data. Please anyone suggest me?
what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration
How network traffic be reduced by using the stored procedure?
Tell me what is the stuff and how does it differ from the replace function?
What is the purpose of self join?
How you would rewrite the sql query to return the customerid sorted numerically?
What do you mean by an execution plan? How would you view it?
Does hive support indexing?