How to list down all defined macros in teradata?

Member

by denis , in category: MySQL , 6 months ago

How to list down all defined macros in teradata?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by haylee.mertz , 6 months ago

@denis 

To list down all defined macros in Teradata, you can use the following SQL query:

1
2
3
4
5
6
7
SELECT 
    databasename, 
    definitionname,
    requesttext,
    updatetime
FROM 
    dbc.macros;


This query selects the database name, macro name, macro definition, and last update time of all macros from the DBC database in Teradata.


You can run this query in any Teradata SQL client or through a Teradata command line interface.

Related Threads:

How to list all defined url paths in fastapi?
How to use a defined record in oracle?
How to defined variable in state in vuex?
How to defined variable in state in vuex?
How to create a user-defined function in postgresql?
How to return a list field in fastapi?