1) Go to the Schema Browser
2) Find the table that you want to import into. RIght-click it and choose "Import data"
3) A wizard will guide you through the rest of the process.
For fastest import, check "Use Array DML" on the last step.
1) Go to the Schema Browser
2) Find the table that you want to import into. RIght-click it and choose "Import data"
3) A wizard will guide you through the rest of the process.
For fastest import, check "Use Array DML" on the last step.
I don't have a table I want to import it into. Do I have to create one?
Yes. If your excel file has column names in the first row, the create table wizard can help you pull the column names and datatypes from the Excel file. Go to Database -> Create -> Table. Then click "Load cols from file" at the bottom. Make whatever adjustments are needed after that and click OK to create the table. Then you can follow the steps from my first reply.
It keeps on saying "Duplicate column names are not allowed." when I'm trying to create the table with the "Load cols from file". There are no duplicates though.
Make sure that the list of columns on the create table dialog is empty before you click "Load Cols from File".
Then if you still get that error, there should be one column in the create table dialog after that - this is the one that it found a duplicate on.
If the column name is blank - then there is a column without a heading in the excel file.
If the column name is not blank, then there must be two by that name. (Note that spaces and other characters not allowed in table names will be converted to underscores....so if you had "COLUMN 1" and "COLUMN_1" in your excel file, then both would come into your table as COLUMN_1, and that would be a duplicate.
If you don't see the problem, send your excel file to me at john.dorlon@quest.com and I'll take a look. Feel free to delete the data out of it (except column headers!) if it's confidential.
I got it to work and imported file. Thank you for all the help.
You're welcome. I'm changing that error message for the next version to tell you the duplicate column name and which position it is found in the source file, so you won't have to hunt for it.
How do I import an excel file into TOAD? I am on version 12.10.0.30. Thanks.
> Is this a known bug?
At the very least there is room for major improvement here. When run manually from your action's properties dialog you should get the prompts. When run outside of that context there should be no GUI or messages shown. That's the ideal behavior and we're working on cleaning up these cases now as a matter of fact. It doesn't much help in an automated scenario if Toad is showing a message dialog requiring your attention. I'll log this one.
In the meantime maybe you can restructure to create a single master script that calls all of the diff scripts and have your action execute the master. That way if any fail you'll only get a single prompt to address after the master has completed.
Michael
Hi,
So in my scenario i am comparing about 80 schemas to 1 "Gold" schema, which creates a diff script and then i want to execute all of those scripts.
I've created an app in automation designer that i run from command line that runs the comparison, creates the diff scripts, then it gets to the execute script step and it fails after running the first script because of errors.
When i run this in toad it prompts after every script due to errors even though in the Script Error Options i don't have the "Fail Action on Script Error" box checked.
I've also tried checking the box along with the "Except if error is in the ignored list" box and adding all of the errors to the list and checking those and i get the same result.
I'm using Toad for Oracle Xpert version 12.10.0.30.
Is this a known bug?
Thanks,
Scott
Just curious...
sqlplus from the same ORACLE_HOME (the one that is Toad showing) is detecting correctly ifile entries?
is this only thing that is a problem or do you see other issues as well?
P.S.
Use newer version of toad so have no chance to check that.
Hi pollewops,
In addition to checking what Damir recommended, make sure the paths referenced by the IFILE lines in your TNSNames file are accessible from your Windows 10 machine. If they were defined as mapped drives in Windows 7, but not in Windows 10, that could also contribute to the problems you're seeing.
As for the question regarding upgrading to a newer version with the same license, a good part of that would depend on whether you have an active maintenance agreement. I would contact your local rep to find out whether or not you have access to download the most recent commercial version. If you do, you may also need to get a new license key for your copy. There was an old style of license keys that was deprecated in Toad 12.5. So, if you happen to have one of those older-style keys, you'll need to get a newer key from Quest's licensing department. If you already have one of the newer-style keys, and have an active maintenance agreement, you should be able to upgrade using your existing key.
Feel free to let us know if you have any other questions.
-John
Hello,
For a customer we use TOAD for Oracle 11.5 on Windows 7.
Now we want to create the package for Windows 10. The problem here is that the IFILE lines in tnsnames.ora are not detected anymore.
How to solve this ?
Can i upgrade to newer version with same license ?
I don't think we have any such option. Not sure what would cause it. I just tried the Open File dialog in the Editor of Toad 11 and could resize it an move it around just fine.
When I am opening/saving files I am unable to resize/move/drag around the Open/Save/Save As dialog box. Where is the setting located to allow this? Thanks.
Evening All,
Do these provide any help at all?
www.toadworld.com/.../tnsnames-ora-ifile-and-network-drives-on-windows
I had a few problems myself on Windows 7 where the entries in the IFILEd file, didn't show in the new session drop down for tns entries. It turned out to be caused by my IFILED command having quotes around the file path. Once I removed the quotes, it worked perfectly.
HTH
Hi Norm, all others,
whenever I get problems like that I remove all possible influence and test on env with simple c:\oracle\my_ifile.ora (no spaces and shotname only) where %ORACLE_HOME% always return the same value. and always test with original Oracle products, lilke SQL*Plus is.
I have tested on one of mine VM where I have Toad 11.5 and Win 7...all was perfect.
And I use Toad 12.x on Windows 10 with no problems.
So hardly believe that there are any problems in that area in Toad part.
@pollewops,
norm has created nice tool for checking tns entries. you should checked them as well
:-)
That's a really old version of Toad you have. This is not a problem in the current version.
By the way, I got it to work in Toad 10 by taking out the column names before AS like this:
INSERT INTO TableFinal
(
fa,
fb,
fc)
WITH dataTab AS
(SELECT f1, f2, 1 as r