Hello,
The title say it all. I feel as if I am missing something basic. I am using 12.12.0.39.
I create a table through SQL+ and it created it in the correct schema.
Assistance would be much appreciated.
Thank you.
C
Hello,
The title say it all. I feel as if I am missing something basic. I am using 12.12.0.39.
I create a table through SQL+ and it created it in the correct schema.
Assistance would be much appreciated.
Thank you.
C
4 years after OP... same question
We are migrating from TFS to VSTS and I am looking for any advice re. TOAD / VSTS or TOAD over a git repository as an alternative. Is this still an unknown? Are we still forced to work with git outside of TOAD?
THanks,
-Nick
As mentioned in another post, I am setting up Git in Toad.
This brings me to the question: What are best practices for working with Git in Toad?
We have several developers working on the same database. I know that I could set up Code Collections for different database objects. But which repositories should each developer commit to?
It seems that it is only possible to choose a local git repository, so I guess that each developer should just commit to his/her local repository. But how do I ensure that all developers' repositories are in sync? Would it be possible to make Toad pull/push from/to a central directory before/after each commit?
Or are there other best practices we should follow?
Hello everybody,
I'm using Toad 12.10 with the check code analysis before check in into repository, and I'll like to be able to avoid check in if the plsql code is not formated using the TOAD format code.
What the best approach ?
I think about to create a rule that check the package code contains in the first line the comment like "/* Formatted on %" , is it possible to do that?
Or is there the possibility to auto format the code before to check in?
Kind regards,
Sébastien.
When you join tables, Toad may be trying to update one table using the rowid from another. You can turn on spool SQL to check that. (Main menu -> Database -> Spool SQL -> Spool to Screen).
It would probably be best to just use an update statement in this case. It should still be fast if you use primary key values to determine which rows to update.
My company has asked us to update tables using ROWID in SELECT statements instead of UPDATE as it takes less server resources (no idea if that's true, just want they told us). This works fine for single table queries and even some simple two table joins. Recently I wrote a query that links tables across different databases and I defined the ROWID with the table I want it to be able to modify. If I entered a value in the table and hit commit, it seemed like it worked, but if I rerun the query or look for the update, it's not there. Is this a limitation of ROWID or is there a solution? Thanks!
Hello,
It seems difficult to answer this question, maybe have you documentation about the Xpath expression used to construct rules?
Thank you very much.
Sébastien.
Hi Sébastien,
Sorry for the delayed response. There's currently no way to auto format the code before check-in in Toad 12.10. And unfortunately, there's no good way to create a rule to check to see if source has been formatted in Code Analysis. There are a few reasons for this:
That being said, there is a set of new options in Toad 13 (soon to be released) to define how DDL is extracted from the database in Team Coding when sending files to the version control provider. In those DDL options, you can choose to format PL/SQL code. By setting those options, all PL/SQL code will be formatted before being sent to the version control provider. You'll need to make sure that all members of your team share the same formatting options for consistency, and it won't force formatting before compilation into the database, but it will format them before checking them into the VCS.
Let us know if that will work for what you're trying to accomplish,
-John
Evening All,
I've updated the Trace Files eBook again - and it's still free!
The changes this time are to do with the PARSING IN CURSOR lines, and better explain the UID and LID parameters which refer to login ID and User ID. I have been testing with a proxy user account (logging in to Toad as user norman[dunbar]) and checking out what gets generated in trace files under this configuration. In a nutshell, both UID and LID get set to the proxy user, 'dunbar' in this case and not the login user 'norman'. Strange that we have two parameters but both are the same. At least, for now. Maybe Oracle 18 will differ? This was tested on 12c (12.1).
https://github.com/NormanDunbar/OracleTraceFilesExplained/blob/master/OracleTraceFilesExplained.pdf
Wait for the pdf to appear, then click the download button.
Enjoy.
Hello John,
thank you for your answer, I'll take a look at toad 13 when released.
Kind Regards,
Sébastien.
Thx Norm.
Someone recently mentioned in a thread here, possibly John Dorlon, that Oracle Trace Files were not very well documented. I can't find the thread now of course!
I've had piles of notes on the subject spread over many files for years, so I've gathered them all together and converted them into an eBook (pdf) that anyone can download and keep for free. Hopefully it will be of some use.
The book is on my Github repository, along with all the source code used to create it (in LaTeX format) so you are free to update it if you wish.
To obtain your free copy, with pretty pictures and a working index, goto:
github.com/.../OracleTraceFilesExplained.pdf
Then wait for the pdf to appear, then click the download button.
Enjoy.
You are talking about adding column to a table?
Yeah, you can only add one at a time in the GUI because it wants you to specify a column name as you go, but as a workaround you could just a "q" for the first column name, then arrow down, "w", arrow down, "e", arrow down, "r", arrow down, etc, then come back after and paste in the names that you actually want.
If you have a long list of column names and you just want to paste the whole list, it might be easiest to use the GUI to add one column, then do a Show SQL, send the SQL to Editor, and then you can paste the rest in to the 'alter table' statement that the GUI creates for you.
In TOAD, can I copy multiple lines and then add them at the bottom of my table? I have several recurring fields that it would be nice to copy and insert rather than having to enter them all individually.
How can you insert a column into an existing table when altering that table?
Thank you John. We're trying to set up pilots of both Git and TFS TFVC so this is very helpful
Hey Douglas,
Just a quick update on this issue. Starting with Thursday's beta of Toad for Oracle 13.0, you'll be able to perform pull and push operations from inside Toad for Oracle. I just wanted to make you aware of this as you decide which direction to take.
-John
I have also found Insight Pick List to be temperamental. It seems to work better when I use aliases for tables, but it is inconsistent.
I just installed Toad for Oracle v12.11.0.95 (64 bit) and I cannot seem to get Toad Insight to work. I have checked and re-checked that it is enabled (View->Toad Options->Editor->Code Assist->Enable Code Insight Pick List is definitely checked.) I have (among other things) tables, views, synonyms, functions selected as options. I have the pop-up delay set to 100 milliseconds. However, when I am in the editor, the insight box never pops up like it used to in previous versions. I have to hit CTRL-T to force it to come up and when I do the list is completely empty. I have hit the refresh button repeatedly and nothing is ever listed. (And yes, there absolutely should be objects listed.)