If you start KOra, the logon dialog will popup (if the KOra server is running). There you can enter your logon information. The User Id and the password are required. The Connect string is only needed, if you have more than one database instance, or if you want to address databases remotely via Sql*Net. If you want to logon to Oracle with different information during your session, you can get the logon dialog again if you click the menu item Connection/Reconnect to Oracle.
There are two ways to display a table. Inside the Sql Input Area you can type desc tablename. That displays the information for the specified table. But for that you need to know the name of the table.
Another way is to click the menu item View/Tables.
Now displays a dialog where you can select the table you want to view.
The information for that tables are displayed in the lower part of the
table dialog.
Note: In moment it is only possible to view the information for real tables. Views or synonyms cannot be viewed like tables right now.
If you click the menu item View/Sequences the dialog for the sequences will popup. There you can view a list of sequences that are defined inside Oracle. If you click a sequence, detail informations will be displayed in the lower part of the dialog.
Start Value: The start value of the sequence
End Value: The end value of the sequence
Increment: The sequence will increment by the specified number.
Cycling: If the end value is reached, counting continues with the
start value.
If you click the menu item View/Synonyms the dialog for the synonyms will popup. There you can view a list of synonyms that are defined inside Oracle. If you click a sequence, detail informations will be displayed in the lower part of the dialog.
Table Owner: The owner of the real table
Table Name: The name of the real table
Database Link: The link to another database if the real table is
not a physical table in the actual database.
If you click the menu item View/Packages the dialog for the packages will popup. There you can view a list of packages that are defined inside Oracle for the actual user. If you click a package, the source code of the package declaration and the body is displayed in the lower part of the window. You can click the button Edit declaration or Edit body if you want to change the implementation of a package. Another dialog pops up. There you can see the source code of the declaration or the body. Now you can change the code. If you click the button Compile, the code will be compiled inside Oracle. Occurs an error, so you can see the error message in the lower part of the window. Be sure to correct the error, because the new code will be stored inside Oracle also if the code is not correctly compiled. So the package will only be valid if you could compile it successfully.
If you want to execute one or more Sql commands, you can type them within the SQL Input Area. Every command must be terminated with a semicolon. If you are satisfied with your code you can execute the sql command. For that press the button Execute Sql. Also you can click the menu item File/Execute or press the shortcut Ctrl+E.
The result will be displayed inside the Sql Output Area.
If you want to execute a next sql command, be sure to delete the Input Area first. Otherwise the old commands that are still displayed inside your Input Area will be executed again. You can delete your Input Area with the Purge button.
The result is only appended to your Output Area. There is also a Purge button. So you can clear the Output Area also.
For a detailed description of Sql commands see your Oracle documentation.