The first step is to start BIDS, go to the File menu and select "New Project";
| BIDS: New Project Dialog | 
| BIDS: Blank SSIS Project | 
| SSIS: Package Renaming Dialog | 
| BIDS: Solution Explorer | 
| BIDS: Adding a Data Flow Task | 
Now assuming you're going to be dragging the data down from an OLE DB Source (like me) you need to drag one of those into the designer;
| BIDS: OLE DB Source | 
| BIDS: OLD DB Source Editor | 
| BIDS: Configure OLE DB Connection Manager Dialog | 
When you're happy with your connection (i.e. it works!) make sure it's selected and click "OK".
You are now returned to the previous screen with your selected connection highlighted;
| BIDS: OLE DB Source Editor with Selected Connection | 
The SQL I'm using is;
SELECT *
FROM OPENQUERY ( XXX, 'select * from lot_genealogy_whereused')
This retrieves data (via SQL Server) from our Oracle e-Business Suite. Paste the SQL into the "SQL Command Text" entry box;
| BIDS: OLE DB Source Editor with SQL Command | 
This closes the dialog and returns you to the main window;
| BIDS: OLD DB Source (No Errors) | 
| BIDS: OLE DB Source with Flat File Destination | 
| BIDS: Flat File Destination Editor | 
| BIDS: Flat File Format | 
| BIDS: Flat File Connection Manager Editor | 
| BIDS: Flat File Connection Manager Editor | 
Remember to check the "Column names in the first data row" checkbox if you want them!
Click "OK" when you're done.
| BIDS: Flat File Destination Editor | 
| BIDS: Flat File Destination Editor (Showing Mappings) | 
| BIDS: Designer Window | 
Click "Run"/"Start Debugging" and after a few seconds the task will run and you'll start seeing records being written to your file. When the task is complete everything will go green;
| SSIS: Task Successful Completion | 
 
 
 
 
 
 
 
 
 
 
 
0 comments:
Post a Comment