It is around 150 typically, assuming that the sql statement contains about 12 calls to the function. The other thing I neglected to include was that connection pooling is enabled and if you try to re-run the same script even after the connection is closed and re-opened if fails immediately (I assume that's because it is re-using the same pooled connection). Here is a same sql statement
select
TO_SQL_DATE(Date1C, Date1Y, Date1M, Date1D) as Date1,
TO_SQL_DATE(Date2C, Date2Y, Date2M, Date2D) as Date2,
TO_SQL_DATE(Date3C, Date3Y, Date3M, Date3D) as Date3,
TO_SQL_DATE(Date4C, Date4Y, Date4M, Date4D) as Date4,
TO_SQL_DATE(Date5C, Date5Y, Date5M, Date5D) as Date5,
TO_SQL_DATE(Date6C, Date6Y, Date6M, Date6D) as Date6,
TO_SQL_DATE(Date7C, Date7Y, Date7M, Date7D) as Date7,
TO_SQL_DATE(Date8C, Date8Y, Date8M, Date8D) as Date8,
TO_SQL_DATE(Date9C, Date9Y, Date9M, Date9D) as Date9,
TO_SQL_DATE(Date10C, Date10Y, Date10M, Date10D) as Date10
From SomeTable