What are the DisAdvantages of User Defined Functions? (2024)

UDF that return non-deterministic values are not allowed to be called from inside UDFGETDATE is an example of a non-deterministic function. Every time the function is called, a different value is returned.Not every SQL statement or operation is valid within a function.The following lists enumerate the valid and invalid function operations:Valid:Assignment statementsControl-flow statementsVariable declarationsSELECT statements that modify local variablesCursor operations that fetch into local variablesINSERT, UPDATE, DELETE statement that act upon local table variablesInvalid:Built-in, nondeterministic functions such as GetDate()Statements that update, insert, or delete tables or viewsCursor fetch operations that return data to the client

  • 0
What are the DisAdvantages of User Defined Functions? (2024)
Top Articles
Latest Posts
Article information

Author: Arline Emard IV

Last Updated:

Views: 5939

Rating: 4.1 / 5 (52 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Arline Emard IV

Birthday: 1996-07-10

Address: 8912 Hintz Shore, West Louie, AZ 69363-0747

Phone: +13454700762376

Job: Administration Technician

Hobby: Paintball, Horseback riding, Cycling, Running, Macrame, Playing musical instruments, Soapmaking

Introduction: My name is Arline Emard IV, I am a cheerful, gorgeous, colorful, joyous, excited, super, inquisitive person who loves writing and wants to share my knowledge and understanding with you.