I have attached a script which I got it from database A and ran it in database B. Got errors. Please find the attachment. I am trying to copy a table from database A to database B.
lg123,
Did you have the ';' or '/' in between the individual sql statements in the original text? If not, then you're trying to run several creates together into one. You also have what appears to the create index prior to create table commands.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.