SQL Shack · August 22, 2019
SSIS OLE DB Source: SQL Command vs Table or View
This article compares the SQL Command and Table or View access modes of the SSIS OLE DB Source. An experiment uses SQL Server Profiler to inspect the statements sent to the database when only selected columns are enabled in the source editor.
The results show that Table or View mode can retrieve every column before SSIS filters the output, while an explicit SELECT statement projects the required columns at the database. The discussion explains why source queries can reduce unnecessary data transfer.
Related reading
- Download Free SQL Server Daily Checklist ScriptsMSSQLTips.com
- T-SQL in One HourMSSQLTips.com
- SQL Developer Interview QuestionsMSSQLTips.com
- SSIS in One Hour: Hands-On TutorialMSSQLTips.com
- An overview of SQL Server monitoring toolsSQL Shack
- SQL Script for SQL Server Table and Column PropertiesMSSQLTips.com
- Data Wrangling in SQL Server for Cleaning, Transforming and Merging DataMSSQLTips.com
- Implicit Conversion Concerns for SQL Server PerformanceMSSQLTips.com
- Working with Date and Time Data Types in SQL ServerMSSQLTips.com
- Learn SQL: Insert multiple rows commandsSQL Shack
- How to use the SQL WHERE Clause with ExamplesMSSQLTips.com
- Tech Tip: How to Parse an SQL Command?Tech Blog
- Getting started with SSIS External Configuration FileMSSQLTips.com
- SSIS Interview Questions and Answers for Developers and DBAsMSSQLTips.com
- Fixing Cannot Convert Between Unicode and Non-Unicode String Data Types in SSISMSSQLTips.com
- Migrate Data from SQL Server to MongoDB using SSISMSSQLTips.com
- Learn SQL standard deviation functionSQL Shack
- An overview of the SQL GROUP BY clauseSQL Shack
- SSIS Bad Habits: Decreasing SSIS Package PerformanceMSSQLTips.com
- SSIS Bad Habits: Inefficient Data Staging Strategies - Part 2MSSQLTips.com
- SSIS Bad Habits: Slow lookup transformationsMSSQLTips.com
- SSIS Bad Habits: Wrong OLE DB components configurationMSSQLTips.com
- SSIS Bad Habits: Inefficient Data Staging StrategiesMSSQLTips.com
- SSIS Bad Habits: Using Sort and Merge Join ComponentsMSSQLTips.com
- SSIS Extension for Visual Studio 2022Stack Overflow
- Import flat files into seperate SQL Server Tables using SSISStack Overflow
- Why is the SSIS variable not passing the milliseconds part into the query?Stack Overflow
- How to using STRING_SPLIT within an SSIS OLE DB Source SQL Command when the database compatibility level is set to is set to SQL Server 2008?Stack Overflow
- SSIS Term Extraction vs. Term LookupSQL Shack
- SSIS Script task vs. Script ComponentSQL Shack
- Is it Possible to Load data to MongoDB Using SSIS?Stack Overflow
- SSIS XML Source vs. XML taskSQL Shack
- Data Access Modes in SSIS OLE DB Destination: SQL Command vs. Table or ViewSQL Shack
- SSIS Merge Join vs. Merge TransformationSQL Shack
- SSIS Pivot transformation vs. Unpivot transformationSQL Shack
- SSIS, query Oracle table using ID's from SQL Server?Stack Overflow
- Popular free SQL online compilersSQL Shack
- SSIS Lookup transformation vs. Fuzzy Lookup transformationSQL Shack
- An overview of the VS_NEEDSNEWMETADATA SSIS exceptionSQL Shack
- Import data from MongoDB to SQL Server using SSISSQL Shack
- SSIS packages automation toolsTech Blog
- Building databases using BimlSQL Shack
- Melissa Data Quality free components for SSISSQL Shack
- Connecting to Apache Hive and Apache Pig using SSIS Hadoop componentsSQL Shack
- SSIS Hadoop Connection Manager and related tasksSQL Shack
- Importing and Exporting data using SSIS Hadoop componentsSQL Shack
- An overview of the DTExec utility in SSISSQL Shack
- Biml alternatives: Building SSIS packages programmatically using EzAPISQL Shack
- Biml alternatives: Building SSIS packages programmatically using ManagedDTSSQL Shack
- An overview of the SSIS FTP TaskSQL Shack
- Using external C# script files within BimlSQL Shack
- Extending Biml with C# scriptsSQL Shack
- Converting SSIS packages to Biml scriptsSQL Shack
- Using Biml scripts to generate SSIS packagesSQL Shack
- SSIS: Execute T-SQL Statement Task vs Execute SQL TaskSQL Shack
- How to get GraphLayout XML from programmatically generated SSIS package?Stack Overflow
- Getting started with BimlSQL Shack
- Manipulating SSAS OLAP cubes using SSISSQL Shack
- SQL Server functions for converting a String to a DateSQL Shack
- A SQL join on multiple tables: overview and implementationSQL Shack
- An overview of the SQL cursor @@FETCH_STATUS functionSQL Shack
- Yet another bunch of SQL string functionsSQL Shack
- SSIS Extract links from Excel cells to load into SQLStack Overflow
- An overview of SQL String FunctionsSQL Shack
- An overview of the SQL Server ProfilerSQL Shack
- SSIS Foreach Loop vs For Loop ContainerSQL Shack
- SSIS Balanced Data Distributor OverviewSQL Shack
- An overview of the Data Profiling task in SSISSQL Shack
- SQL OFFSET FETCH Feature: Loading Large Volumes of Data Using Limited Resources with SSISSQL Shack
- SSIS Script Component OverviewSQL Shack
- SSIS Flat Files vs Raw FilesSQL Shack
- SSIS XML DestinationSQL Shack
- SSIS Data types: Change from the Advanced Editor vs Data Conversion TransformationsSQL Shack
- SSIS Connection Managers: OLE DB vs ODBC vs ADO.NETSQL Shack
- SSIS Derived Columns with Multiple Expressions vs Multiple TransformationsSQL Shack
- Execute SQL Task in SSIS: Output Parameters vs Result SetsSQL Shack
- Execute SQL Task in SSIS: SqlStatementSource Expressions vs Variable Source TypesSQL Shack
- SSIS OLE DB Destination vs SQL Server DestinationSQL Shack
- SSIS Expression Tasks vs Evaluating variables as expressionsSQL Shack
- SSIS Flat file could not deal with NUL (\x00) valueStack Overflow
- An efficient approach to process a SSAS multidimensional OLAP cubeSQL Shack
- C# Script in SSIS Script Task to convert Excel Column in "Text" Format to "General"Stack Overflow
- Fast load error output doesn't redirect entire batchStack Overflow
- How to load mixed record type fixed width file with two headers into two separate files?Stack Overflow
- How to Map Input and Output Columns dynamically in SSIS?Stack Overflow
- Date calculation with parameter in SSIS is not giving the correct resultStack Overflow
- How to check column structure in ssis?Stack Overflow
- Automate Version number Retrieval from .Dtsx filesStack Overflow