Quantcast
Viewing all articles
Browse latest Browse all 9063

Re: I can't get the syntax for a table defined function to work.

Thanks Sagar.  I appreciate the input.  It turns out you can do it and I was able to figure it out. You just leave off the TABLE and declaration like this:

 

     CREATE FUNCTION MY_SCHEMA.MY_FUNCTION()

         RETURNS MY_SCHEMA.TT_MY_TABLE_TYPE

 

Where TT_MY_TABLE_TYPE is a predefined table type.  It works like a charm.


Viewing all articles
Browse latest Browse all 9063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>