Hi Wendell,
still not sure what you exactly need.
ADD seems to be a DDL statement, while the values of your example
postgres statement retrieves (as far as i understand) DML callables.
In SQLServer
select * from sys.all_objects
seems to retrieve all (not only user defined in the meaning of
non-builtin users) functions and procedures.
But still not that set of built-in instructions like "Create", "Drop" or
"group by" or "AVG", "DateAdd" and so on.
Is it that, what you're looking for? All SQLServer DDL /DML instructions?
bye Jürgen
Am 02.11.18 um 13:19 schrieb Wendell Nichols:
> Thanks Jurgen. This works for user defined functions and stored
> procedures but not builtin's like ADD.
>
> I hate to do it but we're going to have to hard code the metadata for
> those.
>
> wcn
>
> On 11/2/18 12:12 AM, Jürgen Weltner wrote:
>> Sounds to me that you're looking for something like this:
>> https://www.mssqltips.com/sqlservertip/1669/generate-a-parameter-list-for-all-sql-server-stored-procedures-and-functions/
>>
>> ?
>>
>> bye Jürgen
>>
>> Am 01.11.18 um 21:01 schrieb Wendell Nichols:
>>> Other databases have tables and functions for deriving the names,
>>> args and returntypes for builtin functions but I can't find this for
>>> sqlserver. Does anyone on this list have any experience with that?
>>>
>>> For example a query for postgres that we use is:
>>>
>>> SELECT proname as name,
>>> pg_catalog.pg_get_function_arguments(pg_proc.oid) as input,
>>> format_type(pg_proc.prorettype, null) as returntype, prosrc as
>>> definition FROM pg_proc ;
>>>
>>> Thanks in advance..
>>>
>>> wcn
>>>
>>>
>>>
>>> _______________________________________________
>>> Squirrel-sql-develop mailing list
>>> Squ...@li...
>>> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
>>
>
>
> _______________________________________________
> Squirrel-sql-develop mailing list
> Squ...@li...
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
|