Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The below steps should help you to get a basic SSIS package working:</p> <ol> <li>Create new Integration Services Project in Business Intelligence Development Studio. There should be a default SSIS package in it called Package.dtsx. Open the package.</li> <li>In the bottom of the screen, there should be an area for connection managers. Right click on it to get a list of different connection managers.</li> <li>Click on New OLEDB Connection. This will be the connection manager for your source database. Set the data source (server or instance name), authentication mode and credentials and the initial catalog (database name). </li> <li>Again right click in the connection managers area and select New Flat File Connection.This will be the connection manager for the destination flat file. You can create a text file (.txt or .csv) and add in the headers for your data e.g. EmployeeID,EmployeeName,EmployeeSalary. Check the "column names in the first data row" checkbox to make sure your headers are identified as such.</li> <li>Now select a Data Flow Task and drag it to the Control Flow screen.</li> <li>Open the Data Flow tab. Drag 2 items from Toolbox to the screen - OLEDB Source and Flat File Destination. </li> <li>In the Source, use the OLEDB connection manager created earlier. Then change the Data Access mode to SQL command. Now you can type your own command to select data. Make sure that the header data in your flat file is the same as the column headers from your select query.</li> <li>In the Destination, use the Flat File connection manager created earlier. Go to the Mappings section and map the columns from your query output to the headers in your text file.</li> </ol> <p>Now save and run the package. You should see that the destination text file is populated with data from your query.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload