in reply to Re: Re: modularizing database script?
in thread modularizing database script?
Why would you want to create the table using a different perl script???
Your truncate will delete all the data... do you need to run the script somewhere where the table does not exist?
I think that having one script will make your code cleaner... since this seems like a small script... no need to spread all the code in different files... How about splitting it in different subroutines?
you would probably want to replace the truncate by a drop and a create, but I don't think it's a good idea to do so in Oracle... (Will the table be in a separate Tablespace? How will extents allocation go, How frequently will you do this... it depends on so many factors)
|
|---|