.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Interview Question >> Sql Server >> Post New Question Subscribe to Interview Questions

which four Datatypes cannot be used as a parameter in a udf?

Posted By :Santhose Kumar     Posted Date :May 30, 2011    Points :40   Category :Sql Server 
text, ntext, image and timestamp datatypes can not used as parameter in UDF


I was trying to use an "out int" parameter in one of my functions. How should I declare the variable that I am passing to it?

You should declare the variable as an int, but when you pass it in you must specify it as 'out', like the following: int i; foo(out i); where foo is declared as follows: [return-type] foo(out int o) { } (More...)

What are the different parameter passing techniques c# supports?

byvalue (default),byreference,out and paramarray (More...)

what is the Ref and Out Parameter?

ref parameter:
Ref is keyword.
it must be used along with actual and formal arguments.
ref variables must be initialized before passing to a function

out parameter:
It is very similar to call by Reference.
Out is a Keyword.
Which must be used along with actual and formal arguments.
Out variables are not require to initialize, the initialized value will not be passed, only reference will be passed. (More...)

How to start a thread with parameter?

Use ParameterizedThreadStart type instance (More...)

Which datatypes can be compressed inside SQL Server?


Define Optional and Named Parameter in C# 4.0

Optional parameter allows omitting arguments to function while named parameters allow passing arguments by parameter name. (More...)

Can we have a message contract as input parameter and data contract as returned parameter in a single operation contract?

No, Input and return parameter should be same as Message contract if we want to use message contract in a operation contract. (More...)

You can also find related Interview Question to which four Datatypes cannot be used as a parameter in a udf?  below: 

Can we pass more than one querystring parameter with hyperlink in .aspx file?

Yes we can.
Code can be like,
NavigateUrl='<%# "Page.aspx?param1=" & _
DataBinder.Eval(Container.DataItem, "param1") & _
"¶m2=" & DataBinder.Eval(Container.DataItem, "param2") %>'
Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend