Comments and answers for "What is a deterministic function?"
http://ask.sqlservercentral.com/questions/37878/what-is-a-deterministic-function.html
The latest comments and answers for the question "What is a deterministic function?"Comment by Christian13467 on Christian13467's answer
http://ask.sqlservercentral.com/comments/38729/view.html
No. Only plsql functions can be defined to be deterministic. Procedures cannot be used in places where functions should be deterministic.Mon, 30 Nov 2009 06:22:54 GMTChristian13467Comment by BI DWH BALA on Christian13467's answer
http://ask.sqlservercentral.com/comments/38726/view.html
HI.. Can we define a procedure also deterministic?Fri, 27 Nov 2009 14:22:09 GMTBI DWH BALAAnswer by Christian13467
http://ask.sqlservercentral.com/answers/37881/view.html
<p>A deterministic function gives always the same result to given parameters. The result of a deterministic function depends only from the input. It can have more than one parameter.</p>
<p>Samples of deterministic functions: length, to_upper, trunc, substr</p>
<p>Oracle uses deterministic functions building function based indexes. Be deterministic is necessary because oracle stores the function result into a normal index. At query time the optimizer calls the function again for query parameters but not for all table values.</p>Fri, 27 Nov 2009 05:45:18 GMTChristian13467