What is user-defined function? Explain its types i.e. scalar and Inline table value user-defined function?
Submitted by: AdministratorUser defined functions are created and defined by the user. They are created as per users needs. They may or may not accept parameters. They can be used to create joins and simple to invoke as compared to stored procedures
Types:
Scalar user defined: returns values as one of the scalar data types. Text, timestamp, image data types are not supported. It may or may not accept parameters.
Inline table value user defined : it returns a table data type. These functions can pass parameters to the sql's SELECT command. They are similar to views except, they can accept parameters.
Submitted by: Administrator
Types:
Scalar user defined: returns values as one of the scalar data types. Text, timestamp, image data types are not supported. It may or may not accept parameters.
Inline table value user defined : it returns a table data type. These functions can pass parameters to the sql's SELECT command. They are similar to views except, they can accept parameters.
Submitted by: Administrator
Read Online SQL Server Functions Job Interview Questions And Answers
Top SQL Server Functions Questions
☺ | Explain Steps of normalization? |
☺ | What is De-normalization? |
☺ | Explain how DTS is used to extract, transform and consolidate data? |
☺ | Do you know exporting and importing utility? |
☺ | What are scalar functions? |
Top New MS SQL Server Categories
☺ | SQL Server Database Administrator Interview Questions. |
☺ | SQL Server Service Broker Interview Questions. |
☺ | SQL Server Locks Interview Questions. |
☺ | SQL Server Constraints Interview Questions. |
☺ | MS SQL Data Mining Interview Questions. |