We are with a small problem at work. Our DBA decided to go around the world on a journey of self-discovery. I really love the idea and wish the best for him. The only detail is that he left without leaving anything on the database that he created.
I already searched the site but couldn't find a concrete answer for my trouble or I wasn't searching the right way.
This means that we do not have the schemas, tables with data types for each field, triggers, connections with other tables and bases. For this same problem I would like to know if it is possible to export from TOAD (the application I use to connect to the base and edit information BUT I can use another one if you tell me) in which you have the tables with names, the fields with the data types, schemas, triggers, connections between tables and other bases.
It's an Oracle Database.
I appreciate all the help you can give me, it's very important to us because we asked for a DBA but it will take long for the company to hire one.
CREATE DATABASEscript from this? – Vérace Jun 05 '18 at 08:22SQL*Developerto work against MS-SQL was a PITA when I tried. A 3rd party tool would be recommended. If it was only Oracle, I would have suggestedSQL*Developer Data Modelerfor the reverse engineering. (actually I'd suggestgit exportfirst since allCREATEscripts should exist in a Code Repository) – Michael Kutz Jun 05 '18 at 14:25since all CREATE scripts should exist in a Code Repository- just like @peterh - I had a good laugh when I read this! ACode Repositoryindeed... I'd say a good many companies would be hard pushed to produce one if required! I worked for a company which ran the rail infrastructure of a large European country! I looked for theFKs in the system. None! Puzzled I asked if I'd made a mistake. No I was informed by senior programmer-we don't useFK's?I thought WTF? Nope, noFK's "all our searchs are onFK's!" System was on Oracle 9 - why not notepad I thought! – Vérace Jun 05 '18 at 18:05