Figure 2-6 shows sample overloaded test functions and a query that invokes the test function. This query invokes the function with a DECIMAL argument, test(2.0).Because a test function for a DECIMAL argument does not exist, the routine-resolution process checks for the existence of a test function for each data type shown in the precedence list in Figure 2-5.
Figure 2-6 shows the order in which the database server performs a search for the overloaded function, test(). The database server searches for a qualifying test() function that takes a single argument of type INT.