Complete the following steps to import data from MsSQL and create a new table in Connect.
- From the Home screen, select the
Add button under Tables.
- In Datasets, enter MsSQL and
select the connector from the results.
- Under Connection, select the MsSQL connection
that you previously set up. If you have not previously set up a connection,
select New Connection and follow the steps in the
previous section.
- On the left panel, enter a Name that identifies the table
and select a Folder to save the table.
- Under Update Frequency, specify how often you want
Connect to update the table. You can import the data one time or have
Connect continuously import the data at a set time interval. Connect
automatically creates a flow for your import. If you select
Once, you can use the flow at a later time to
automatically run the import again.
- Under Skip to SQL, select Yes so skip the import options and enter the SQL statement manually. Select
No to use the Minitab Connect options to create the SQL statement.
- Under Type of Pull, select whether you want to pull a single table, multiple tables, or all
tables.
- Select Next.
- Select the table or tables that you want to import. If you pulled multiple
tables or all tables, select Save
.
If you pulled only a single table, select Next.
- Select the fields for the table Fields, that you want to pull. Then select Next.
- Select Add Filter and select the field you
want to filter. Next, define the filter. Select an expression and a value.
For example, suppose you want a list of the restaurants that begin with the
letter "C". Use the expression, Facility Type, Begins
With, C. Select the button on the last
selection box to open the SQL dialog box for more complicated filters.
- Select Next. Connect displays the SQL statement. Select Save
. If you go to the
Prep Tool and select Run
, Minitab Connect
displays the imported data.
Note
If no data appears
after you select Run, select Reset Config
.
When you save the import, Connect creates a flow with the settings that you selected. For more
information on how to schedule a flow and add more data processes to clean data, go
to Overview of the Flow Tool
.