Oracle: Script similar to describe command
问题 I'm being asked to create a script that basically does the same thing as the describe command. I have figured out how to write the script and get the output I want, but the second part of the assignment is to "duplicate the format of the describe command" I'm stumped, is there really a way to simply duplicate that format? 回答1: Assuming your query is something like (note that I'm not bothering to handle every different data type) select column_name "Name", (case when nullable = 'N' then 'NOT