Lookup Transformation Editor (Connection Page)
Use the Connection page of the Lookup Transformation Editor dialog box to select a connection manager. If you select an OLE DB connection manager, you also select a query, table, or view to generate the reference dataset.
To learn more about the Lookup transformation, see Lookup Transformation.
The following options are available when you select Full cache and Cache connection manager on the General page of the Lookup Transformation Editor dialog box.
Cache connection manager
Select an existing Cache connection manager from the list, or create a new connection by clicking New.
Create a new connection by using the Cache Connection Manager Editor dialog box.
The following options are available when you select Full cache, Partial cache, or No cache, and OLE DB connection manager, on the General page of the Lookup Transformation Editor dialog box.
OLE DB connection manager
Select an existing OLE DB connection manager from the list, or create a new connection by clicking New.
Create a new connection by using the Configure OLE DB Connection Manager dialog box.
Use a table or view
Select an existing table or view from the list, or create a new table by clicking New.
> [!NOTE] > <P>If you specify a SQL statement on the <STRONG>Advanced</STRONG> page of the <STRONG>Lookup Transformation Editor</STRONG>, that SQL statement overrides and replaces the table name selected here. For more information, see <A href="ms189962(v=sql.110).md">Lookup Transformation Editor (Advanced Page)</A>.</P>
Create a new table by using the Create Table dialog box.
Use results of an SQL query
Choose this option to browse to a preexisting query, build a new query, check query syntax, and preview query results.
Create the Transact-SQL statement to run by using Query Builder, a graphical tool that is used to create queries by browsing through data.
Use this option to browse to a preexisting query saved as a file.
Check the syntax of the query.
Preview results by using the Preview Query Results dialog box. This option displays up to 200 rows.
Blog entry, Lookup cache modes on blogs.msdn.com