-1

I'm new to sql and I have created table using create table table_name. And now I want to get this table definition or let's say source code, I know command desc table_name but that's not what I want. Could you help me figure it out?

Lalit Kumar B
  • 47,486
  • 13
  • 97
  • 124
Miso Blauf
  • 49
  • 4

1 Answers1

0

Check the function: DBMS_METADATA.GET_DDL

http://psoug.org/reference/dbms_metadata.html

TMS
  • 749
  • 7
  • 14