Как подключить toad к базе

от admin

Русские Блоги

Используйте Toad для управления локальными базами данных

Используйте Toad для управления локальными базами данных

Использование Toad для управления локальными базами данных более интуитивно понятное и удобное, чем использование sqlplus, и более простое в использовании.Для некоторых больших таблиц результаты запроса понятны с первого взгляда. Как правило, требуются следующие шаги:

Шаг 1. Установите локальную базу данных

Этот процесс не отличается от общей установки, но следует отметить следующие два момента:

1. При установке базы данных «Создать запускаемую базу данных (добавить 720 МБ)» укажите глобальное имя базы данных: myOrcl и пароль базы данных ****.

2. Когда установка дойдет до последнего шага, нажмите «Управление паролями», укажите пароли scott, sys и системных пользователей, а затем подтверждайте, пока установка не будет завершена.

Шаг 2. Измените файл tnsnames.ora

Откройте файл tnsnames.ora в это время, конфигурация внутри выглядит следующим образом:

(ADDRESS = (PROTOCOL = TCP)(HOST = ****)(PORT = 1521))

**** представляет собой имя хоста машины.

Чтобы облегчить различие, вот псевдоним для myOrcl, чтобы отличать его от других баз данных в раскрывающемся списке базы данных Toad. Поэтому внесите следующие изменения:

(ADDRESS = (PROTOCOL = TCP)(HOST = ****)(PORT = 1521))

Шаг 3: Откройте Toad и подключитесь к локальной базе данных

На этом этапе вы можете использовать Toad для подключения и управления локальной базой данных.

На этом этапе в раскрывающемся списке базы данных вы можете увидеть локально созданную базу данных, где отображается псевдоним zyhMyOracle_1. При этом обратите внимание на следующие два момента:

1. Пользователь / Схема: scott, sys, system и другие пользователи

2.Password: соответствующие пароли для tiger, change_on_install, manager и т. Д.

Getting to Know the Three Methods of Connecting to the Database Using Toad for Oracle: TNS, Direct and LDAP

In this article we are going to learn the three ways in which we can connect to our Oracle database using Toad for Oracle.

First of all, in order to work with this tool, we need to have Oracle database installed, whether it be locally or on a remote server.

We will briefly learn what the architecture of Oracle Net Services is.

Toad communicates with the database through Oracle Net Services, also known as the SQLNET. This service essentially functions as a client/server architecture.

Toad’s data access component communicates with the Oracle Call Interface (OCI) to link with Oracle Net Services on the client machine, which is also the same way as when the database links with Oracle Net Services on the server machine. Lastly, Oracle Net Services transfers all data back and forth between the client and database server via TCP/IP. Note that the network packets are not, by default, encrypted, so we are going to need a program capable of encrypting network traffic among clients and databases.

In order to open Toad for Oracle, we simply double-click on the icon located in the desktop. If we want to open the tool as an administrator, we simply right click on the icon and then we can choose the option to run the tool as an administrator.

When Toad is launched, it checks the Windows PATH variable to find Oracle Net Services and then checks the Windows registry for an Oracle Home. If Toad finds either of the two, then everything is fine, as in this case, and the tool is opened and can be used as expected. If neither of them is found, an error will be displayed specifying that the client could not be found.

It’s very important to consider that the bit size for Oracle client must match the bit size of the Toad Installer that you downloaded and run. Remember, prior to version 11.6 Toad was 32-bit only. If your Windows is 32-bit, then your only option is the 32-bit Oracle client and 32-bit Toad. However, if your Windows is 64-bit, you have two options: both Oracle client and Toad 32-bit, or both 64-bit.

When we open Toad, the first thing that appears is the connection window.

We also have the option to open this window from Session Menu > New Connection.

In this window we can see two different areas. The area of the left is simply a grid which will be showing the different connections that we have available. We currently do not have any connections. In the area on the right, we can put the connection information In the boxes depending on the type selected.

When we make a successful connection it will be saved in the grid on the left.

In order for us to make a new connection we need to have the user name of the schema to which we want to enter in the database and its respective password.

Toad allows us to make three different types of connections: Direct, TNS and LDAP

Direct Connection

Let’s start working with the direct connection string. In the database I have the HR scheme enabled, so we will enter the following information in the area to the right of the connection window:

— Select the Tab: Direct

— Host: <name of our server>

— Service Name: ORCL

— Connect As: Normal (in the case that we use a user of type Database Administrator, we would use the option SYSDBA)

— Color: Red (We have the option to identify our connection with different types of colors to be able to identify this connection when there are several open connections)

— Connect Using: OraDB11g_home1

In the selection list «Connect Using», all the connections to the different databases that we have available are shown. We can click on the ellipsis and the «Oracle Homes» window opens, which shows us what databases we have installed. In my example, I only have one, the Oracle 11gR2 Enterprise Edition database called ORCL.

Now, let’s make the connection by clicking the Connect button.

In this way we can visualize that in the bottom part of the windows we have the red color that allows us to easily identify which type of connection we have open and in the upper part of the windows we can see the name of the connection and the editor in red.

To close the connection, click on the Session Menu > End Connection. If we have more than one connection open we can end all connections selected with Session Menu > End All Connection.

Remember, we also have the option to open this window again from Session Menu > New Connection.

Once we open again our connection window, we can see that the last connection that has been successfully completed is displayed on our grid. Each time we make a new connection we will save the information in the database where we have made the connection. Also, we can see the color, the password, and the type of connection that we have made. In this case, it was a direct connection string.

For each connection we have the option of managing through the grid whether or not we want the password to be saved. If we double click on a connection and we do not have the password saved, we have to enter the password in order to enter the connection.

TNS Connection

For the TNS type connection, the tool will read the TNSNAMES.ORA file from our database configuration.

When we install the database we have in the NETWORK > ADMIN folder some configuration files in which the SQLNET.ORA is the one that allows the connection with the Oracle Net Services and then we have the file TNSNAMES.ORA that has the same information that we enter when we make the direct connection string.

The Oracle TNSNAMES.ORA syntax requires four things: the alias name, the network protocol, the network port, and the database server’s services name for the target database.

When the Toad finds the file, a green check will be displayed indicating that the file has been found. In addition, we have the option of being able to edit the file by clicking the TNSNames Editor button.

We can see the different aliases the file has in a tree type format. These aliases are those that will be displayed in the selection list of the TNS tab in the connection window.

Let’s connect using the schema SCOTT (user/schema: SCOTT, password: triger). We can see that in the selection list of the TNS tab are shown the aliases: LISTENER_ORCL, ORACLR_CONNECTION_DATA and ORCL. We identify the connection with the green color.

We click the Connect button.

We can see the new connection made and in case we have more than one connection open we can identify them by the color assigned to each one.

LDAP Connection

In this last option where we have connection types, we can see in the Toad connection window that the LDAP file has not been found. That is why the red cross mark is shown next to the LDAP Editor button and consequently the LDAP selection list is not loaded either.

For this example, I have modified the name of the file extension, which is why the Toad does not find the file.

We modified the name of the file to its original name: ldap.ora.

It is important to note that this file is provided by the administrator since it is not a file that is created by default when installing the Oracle database.

We close the connection window and reopen the connection window so that the Toad can read the file.

We can now see that the LDAP selection list is loaded with the connection information (user/schema: SYSTEM, password: Oracle26) from the ldap.ora file and the tool marks with a green check that the file could be found.

We identify this connection with the purple color and click on the Connect button.

Our connection is open and identified with the purple color.

Now we close all the connections and we can observe in the grid the 3 saved connections identified by the type of connection.

In addition, we have the icon bar at the top of the window with the following accesses:

Add Login Record: It allows us to create a new connection record.

Edit Login Record: We can edit an existing record.

Test Connections: We can test a connection by entering the connection password and it shows us if it is connected or if there is a connection failure.

TNSPing Server: The tool shows us on the selected connection a message if the TNSPing has been done correctly or not.

Edit Custom Fields: It allows us to edit custom fields for a connection, for example, if we want to add a Notes field and in the grid that field will be shown.

Connection Bar Button Order: In this window we can sort the connections that we have available.

Set View Style: Here we can select different ways of visualizing our connections, either in grid, server, user, or by the connection method.

Import: This option allows us to import connections from a file.

Export: This option allows us to export the connections to a file.

Refresh: This option allows us to refresh the connection window.

Finally, if we have a connection error, a window similar to the following one will be presented, showing us the possible errors and some suggestions for solving them. In the event that we can’t solve the problem(s) with that information, we have the link at the bottom of the window that takes us to the Toad knowledge base where we can register for free and find countless solutions to the problems we have.

Conclusion

In this article we have traced the Toad for Oracle connection window and learned how to connect to the Oracle database using the three connection methods: TNS, Direct, and LDAP.

In future articles we will be learning the use of this great tool for administrators and developers in Oracle databases.

Most Fortune 500 companies choose Toad

Tool for Oracle Application Developers, more widely known as Toad®, was designed by Oracle developer, Jim McDaniel, to make his job easier. It was so helpful that Jim decided to share it. Fast forward to more than 20 years later, Toad is a trusted tool used in most Fortune 500 companies and across the globe.

There are many reasons why people buy Toad rather than staying with the “free” SQL Developer tool Oracle offers. One main reason developers and DBAs choose Toad for Oracle is to reduce time and effort to develop and manage Oracle databases. But did you know that with Toad for Oracle you can automate administration tasks and proactively manage your databases while embracing performance optimization and risk mitigation? Did you know Toad can now find and control sensitive data across all your Oracle databases ? What else can Toad do that you didn’t know about? Which edition will benefit you the most?

We’re so confident that you will love Toad, we’re offering our top 2 editions to you to try for free for 30 days.

Free 30-day Trial

Clarisa Maman Orfali

Clarisa is a System Engineer with more than 24 years of experience as a developer, teacher, and consultant in Information Technology. She was a Founder and CEO between 2013 to 2020 at ClarTech Solutions, Inc., a consulting firm specializing in Oracle APEX and Open Source technologies. Clarisa entered the world of Oracle technologies in 2009. After a few years, she discovered the power of application development with Oracle Application Express (APEX) and specialized in that area.

Clarisa is from Argentina, and she is living and working in Irvine, California, in the United States. She’s also a Co-Founder of the Argentina Oracle User Group (AROUG). In addition, she had actively participated in large and popular events such as the OTN Tour Argentina and Oracle APEX Tour Latin America after called Oracle Developer Tour. She’s also authored the first three Spanish books about Oracle Application Express and recorded and published several Online Video Courses.

She has a great passion for Oracle technologies and wants to expand that passion and influence, transferring her knowledge and experience to the entire Latin American and worldwide Oracle communities. You can always contact her through her Twitter account (@Clari707).

Clarisa loves spending time with her family by enjoying outdoor activities with her two adored children, Melanie and Nicolas, as well as hanging out with her friends. Also, she loves traveling with her husband Julio worldwide and to takes new challenges at every moment of her life.

Как подключить toad к базе

About Toad Data Point

Toad is a multi-platform database query tool built for anyone who needs to access data, understand data relationships, and quickly produce Reports.

See the detailed help below.

Toad Data Point provides native database connections to the following database providers:

  • Oracle
  • SQL Server
  • DB2 (LUW and z/OS)
  • Sybase ASE, Sybase IQ, and Sybase SQL Anywhere
  • Teradata
  • MySQL

Toad also allows you to create an ODBC connection to a database that supports an ODBC 3.0 (or later) driver. However, an ODBC connection may not be as full-featured as the native connection, so Toad recommends using the native connection whenever possible.

In Toad, a connection represents one or more actual connections to the database. Toad creates an initial database connection for general usage. It also creates a separate database connection for each Editor (the first time you execute a statement) and a separate database connection for each Data tab in the Database Explorer (the first time you select the tab and data is queried). The database connection for each Editor and each Data tab remains open until you close the associated window. However, the connections remain in an inactive state if a statement is not currently executing.

To see detailed information about a database connection, place your cursor over the connection name in the Navigation Manager or Connection Manager pane.

Use the connections drop-down list located in the Connections toolbar to switch to another connection.

To switch to another open connection, thereby making that connection the active one, do one of the following:

  • Select the connection from the open connections drop-down list in the Connections toolbar.
  • Double-click a connection in the Connection Manager or Navigation Manager.

To Change the Connection for an Open Document

To change the connection for a single open document, with the document window selected do one of the following:

Note: This is not the same as switching the active connection for your Toad session, as described above.

  • Right-click the document/window tab, select Change Connection, and then select another connection.
  • Select another connection from the drop-down list located in the Status bar at the bottom of the Toad window.
  • The open connections drop-down list displays all your open connections.
  • The open connections drop-down list also lists the open document associated with the connection (in the Document column).
  • If you open a new document, Toad opens the document window and automatically applies the currently active connection (the one displayed in the Connections toolbar) to it.

Database connections can be created and managed using the Connection Manager (View | Connection Manager) or the Navigation Manager (View | Navigation Manager).

To Create a Database Connection

In the Navigation Manager, click to create a new connection.

Note: If the Navigation Manager is not in view, select View | Navigation Manager.

  • In Toad, your password is saved as obfuscated text.
  • If you plan to use this database connection in an Automation script, you must save your password.

To Use the Navigation Manager

  • To open a connection in the Navigation Manager, double-click the database name, or select the database connection and click .
  • To view the database connection’s Properties, select the database name and click .
  • To close a database connection, select the database connection and click .

To Import Connections

  1. To import connections from an xml file, click on the Connections Manager or Navigation Manager toolbar.
  2. Browse to and select the xml file. Click Open.
  3. In the Import Connections dialog, select the connections to import and click Import.

You can connect to your database using a native Oracle database provider in Toad by using one of the following methods:

Читать:
Какие беспроводные наушники лучше купить форум

Requires an Oracle client.

Note: Toad supports Oracle clients and Oracle Instant clients using version 9i or later.

Does not require the installation of an Oracle Client.

Recommended for connecting to Oracle 8i databases.

Only supports common data types. Some advanced Oracle object types cannot be retrieved when connecting using this method.

Does not support LDAP. (To connect using LDAP, use the Client Connection method instead.)

Cannot be used in a cross-connection query.

  • Quest Software recommends using one of the methods described in this table to connect to Oracle rather than an ODBC driver. Because ODBC connectivity is generic, it is not full-featured and may not be as robust as the fully exploited native database provider.
  • In addition, Toad’s cross-connection query does not support Oracle Direct connection. If you plan to use the Oracle connection for cross-connection queries, you cannot use the Oracle Direct connection method.

To Configure an Oracle Instant Client

The Oracle Instant client installs only those files needed to connect to your database using OCI. Because this client does not write to the registry (no ORACLE_HOMES) or add to the environmental path, you must manually set environment variables so the client can be used with Toad

  1. Save the Oracle Instant Client files in any location on the computer where Toad is installed.
  2. On your Windows desktop, right-click My Computer and select Properties.
  3. Select the Advanced tab and click Environment Variables.

Click New under System Variables and complete the following:

<Path where Instant Client is installed>;%PATH%

For Example: C:\Program Files\OracleInstantClient;%PATH%

  • If you are using the Oracle Instant Client, you must also install an Oracle ODBC driver before using this connection in a cross-connection query. (The full-install Oracle Client includes an ODBC driver.)
  • You cannot use Oracle Direct Connection in a cross-connection query.

To Create an Oracle Connection

In the Navigation Manager, click to create a new connection.

Note: If the Navigation Manager is not in view, select View | Navigation Manager.

Complete the information in the Create New Connection dialog. Review the following for additional information:

Select the alias to use when connecting. This list displays aliases from LDAP as well as any local tnsnames.ora file.

Note: If you do not select a database, Toad uses the ORACLE_SID for the selected home. If an ORACLE_SID value does not exist and you do not specify a database, you cannot connect.

Enter the password to use when connecting.

Tip: After connecting, you can set a master password to further secure your connection in Tools | Options| Environment | Security.

(Optional) Specify the location of an existing explain plan table to use instead of Toad automatically creating one for you when you execute a statement. This is useful if you do not have necessary permissions to create explain plan tables or want to use an existing table.

Select or create a category if you want to color code Editor tabs for a specific connection. This can help differentiate between development and production databases. You can also set an option to color code the Object Explorer pane and object editor windows (Create, Alter, Drop, etc.).

Select this checkbox if you want Toad to save your password.

  • In Toad, your password is saved encrypted.
  • If you plan to use this database connection in an Automation script, you must save your password.

Click this button to edit your local TNSNames file.

Tip: You can press CTRL+F to open the Find/Replace window to locate entries in the TNS Names Editor. Pressing F3 locates the next entry that matches your criteria.

Select an ODBC driver to use in cross-connection queries.

If an Oracle Client is installed, the default is the Oracle ODBC driver.

If no Oracle Client is installed, the default is the Microsoft Access ODBC driver.

Tip: You can specify the ODBC driver to use for all connections for this database provider in Tools | Options | Database | Oracle.

Tip: Connections are stored in the connections.xml file and can be found by clicking the Application Data Directory link in Help | About.

Toad Data Point provides two tools to let you view database objects:

  • Object Explorer provides a list of database objects.
  • Database Explorer allows you to view the details of database objects.

Object Explorer displays the database objects for the currently open (and selected) database connection. You can use Object Explorer to drag and drop database objects and tables into an open Editor or Query Builder window to help you build or compose a query (see Create Queries).

To Use the Object Explorer

Open a database connection in the Navigation Manager (double-click the database name, or select a database and click ).

Note: If the Object Explorer pane is not in view, select View | Object Explorer.

In the Object Explorer pane, click to select an option for displaying the database objects.

Tip: Use Connection Treelist display to view all objects for all currently open connections.

Use the first text box / drop-down list to select a schema or to filter by a schema (not available when using a Treelist display).

Note: To learn how to use Object Explorer to easily build queries, see Create Queries.

Use Database Explorer to explore the details of a database or the details of a database object, including table properties, column attributes, indexing, keys, and data. You can also use Database Explorer to modify database and object properties, as well as data.

To Use the Database Explorer

    Open a database connection and display the database objects in the Object Explorer pane.

Select an object in the Object Explorer pane, then right click and select View Details, or select an object and go to Tools | Database Explorer.

Note: You can also select a database connection in the Navigation Manager, then right click and select New DB Explorer.

Toad Data Point provides two ways to create a query:

  • Build queries visually using Query Builder
  • Compose queries using the Editor

To Build Queries Visually

The Query Builder enables you to create a query without writing or editing SQL statements. Even if you are familiar with SQL, the graphical interface makes it easy to create relationships and visualize the query.

  1. Select Tools | Query Builder | Query Builder.
  2. Drag tables and views from the Object Explorer to the Diagram pane.

Join columns by selecting a column in a table and dragging it to a column in another table. A connector line displays between the two objects to visually represent the relationship.

Note: By default, all joins are initially created as Inner Joins. Double-click to modify the join type.

  • Select each column you want to add to the query.
  • To add all columns, select (Add All Columns).
  • To add all columns to the query using a SELECT * statement, select * (Wildcard) . If selected, an asterisk displays for the Field name in the Criteria tab.

The selected columns are displayed in the bottom portion of the Diagram window.

To select the type of statement you want to create, click (the default is the Select statement).

  • The CREATE statement is only available for Oracle, DB2, SQL Server, and MySQL.
  • If you select an INSERT, UPDATE, or DELETE statement after adding a single table or view to the Query Builder, you cannot add another table or view because it can only apply to a single table or view. Also, if you add more than one table or view to the Query Builder, this action is disabled because it only applies to a SELECT or CREATE statement.
  • You can click to remove a column from the query.

Complete the query options. Review the following for additional information:

Enter the number of records that you want to return that have the highest values.

You can also select the Percent checkbox to select a percentage of records to return instead of an exact value.

Note: (For Oracle only) If you select a top row count and attempt to reverse engineer the query, the resulting query does not populate this field. Instead, the original query is placed into a subquery and the workaround wrapping SELECT statement is placed in the main Diagram page. The WHERE ROWNUM condition is placed into the Global Where clause.

Select one of the following functions to calculate column values:

  • Avg—Returns the average of the values in a group.
  • Avg (Distinct)—Returns the average of the unique values in a group.
  • Count—Returns the total number of items in a column. This function does not ignore NULL values when calculating results.
  • Count (Distinct)—Returns the total number of unique values in a column.
  • Max—Returns the maximum value for the column.
  • Min—Returns the minimum value for the column.
  • Stddev—Returns the sample standard deviation of a numeric expression evaluated over a set.
  • Sum—Returns the sum of all the values in the expression.
  • Sum (Distinct)—Returns the sum of all the unique values in the expression.
  • Variance—Returns a statistical measure of how far a set of numbers are spread out from each other.

Note: If you add a Group By clause, you must specify an aggregate function for any remaining columns.

Use to compose a Where clause or to add a subquery.

  1. Select the Where field in the column and click .
  2. In the Where Condition editor, then do one of the following:
    • Use the Where Condition editor to compose the clause. See Set Where Conditions in the online Help.
    • Click Subquery in the editor to add a subquery. See Add Subqueries in the online Help.
  3. To learn about adding date ranges, see Set Date Ranges in the online Help.
  • If you reverse engineer a query that contains a Where condition from the Editor or edit it in the Query tab of the Query Builder, it displays in a Global Where clause bubble on the Diagram pane rather than the Where Condition field below the Diagram pane. You can double-click the bubble to edit the clause.
  • You can also use the Where Condition to add the same column twice to the query.

Select the column you want to add the Group By clause to and click +.

You can add a new Group By clause to any remaining columns to group them in sequence. Any remaining columns that do not have a Group By clause must include an aggregate function.

Tip: You can add a Group By clause to all selected columns in each table/view, by right-clicking the Diagram pane and selecting Add Group By.

Select the operators, aggregate, and expressions to include in the Having condition. This option is disabled unless you have set a Group By clause.

Note: If you reverse engineer a query that contains a Having condition from the Editor or edit it in the Query tab of the Query Builder, it displays in a Global Having clause bubble (click here to see an example) on the Diagram pane rather than the Having Condition field below the Diagram pane. You can double-click the Global Having clause to edit it.

Select this checkbox to return this column in query results. This is useful if you need to include a column in the selection criteria, but do not need to display it in the query results.

Enter a name to use as an alias for the table name in the query results. For example, if there are multiple employee tables that you need to join for the query, you can rename the tables to permanent, contract, etc., to easily identify them.

Note: If you selected All Columns for a table or created a column using the Edit Calculated Fields window, you cannot modify the table alias.

  • To create a cross-connection query, click the arrow beside and select Cross-Connection Query Builder.
  • To view details for a table in the Diagram, press F4. If a table is not selected, details for the last selected table display.

To create a data report, pivot grid, or chart from the data, right-click the data and select Send To | report_type.

To Use the Editor to Compose Queries

Toad Data Point includes a full-featured Editor for composing SQL statements.

  1. To open an Editor window, To open an Editor window, Select Tools | Edit | SQL Editor.
  2. Type your statement text.

To invoke the code completion feature, press PERIOD at the location where you want to display a list of objects.

Tip: You can specify the default options for using code completion in Tools | Options | Editor | Code Completion.

Note: To create a cross-connection query using the Editor, Select Tools | Edit | Cross-Connection SQL Editor.

Toad Data Point provides an Automation tool that allows you to quickly create automation scripts that perform querying and reporting tasks, as well as a number of other activities. You can schedule querying tasks to run when database activity is light, save the results as Excel spreadsheets or Toad Reports, and then distribute the reports automatically.

To Create an Automation Script

Select this option to send an email on script error.

If selected, you must also click Compose Email to compose the email message and to edit the Email Server Settings.

Note: When you specify the error email settings, Toad saves your settings and uses them in all subsequent automation scripts.

Select to use a relative path that does not include the drive or full path for all activities in the script. This is useful if you want to share your automation scripts with colleagues, use them with version control, or place them on a shared network folder.

Select to embed the actual SQL from SQL files in the script. This makes it easier to share the script with colleagues.

Select Test mode to run your script in test mode using the database connection specified under Test settings.

Select Production mode to run your script in production mode using the database connection specified under Production settings.

Note: The default connection is the currently active, open connection.

To build your script, click an activity in one of the Activity groups in the Toolbox, or drag an activity from the Toolbox to the Automation script design window. Repeat this process to add additional activities to your script.

Note: You must drag the activity to . When you see the Activity icon replace , then release the mouse button.

Select each activity in the design window and then specify the activity’s properties in the tabbed Activity widows.

Tip: You can save an activity and its properties as a template to reuse in other scripts. Right-click the activity in the design window and select Save As Template. After you create the first template, a Templates toolbox displays.

Note: Click Settings in the design window at any time to go back and review the Automation script settings.

After you finish building your script, select one of the following actions from the Wizard bar:

Test an automation script before scheduling it. The script executes once and the execution log is displayed in the Log window. Resolve any problems that cause activities to fail or disable failed activities before scheduling the script.

pacesettergraam

Concentrate where you are, Focus where you want to go

Importing and exporting data by TOAD(for oracle DB)

Inserting into database using Toad

When your Requirement is to import the data inside a database and you have your data in spreadsheet the below is very easy.

  • Oracle Database.
  • TOAD tool configured to database.

Importing data

Go to Database->Import -> Import table Data

1

Select the schema, Object Type and Object Name

2

Click Next , Select the File, Click Next, Specify the Source Data Details and check the excel sheets, Columns and then Execute

3

At last you will find Execute Button. Press It to add the rows

Exporting from database

Go to Toad Menu, Database-> Schema Browser

00

Select Schema, Table

11

After Selecting right click table name -> Export Data -> Choose Destination and click Ok

22

You can also add a additional where clause to specify the rows.

33

You can also try Create Script which gives you the DDL Statements like(Create table )

Thank you for Reading…

Share this:

Like this:

Related

About pacesettergraam

Leave a comment

Comments 0

Leave a Reply Cancel reply

September 2013

M T W T F S S
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30

Recent Posts

  • Find / Identify correct Jdeveloper version for EBS Oracle apps Version
  • Query to find all responsibility assigned to multiple users in Oracle apps/EBS
  • Applications getting crashing in Windows – Increase Virtual RAM
  • Restricting the output of specific Concurrent Reports in Oracle apps EBS
  • OAF EIT Attachment Validation by Controller Extension in EBS/Oracle apps
  • Invoking/Calling/Triggering a AOL Alert from PLSQL/Concurrent Program in Oracle Apps EBS
  • Query to get Work Order within dates in Oracle apps EBS
  • Oracle EBS Hierarchial Query to get Supervisor/Line Manager Hierarchy
  • Query to get Pending Purchasing Order PO with a Employee in Oracle Apps EBS
  • Query to get Vacation Rules for a User in Oracle Apps/EBS

Categories

Your Area

Map

Creative Commons License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

alt=»Creative Commons License» width=»» />
Blog posts by Gowtham Raam is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

You are free to:

Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material
for any purpose, even commercially.

The licensor cannot revoke these freedoms as long as you follow the license terms.

Under the following terms:

Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

Related Posts