You are on page 1of 7

1. How to load big file data into table , its not loading bcoxz size.

Load top 100


rows from file?
Use the scipt compent trans. And use conditional split to write the data.. If the source
file is an Excel file, we can refer to the following steps:
1. Add an Excel Source that connect to that Excel file in a Data Flow Task.
2. Select the name of the excel sheet (Sheet$) with table or view Data access
mode.
3. Click the Excel Source to open the Properties window.
4. Modify the OpenRowset property like below(supposing there are four columns in
the Excel sheet):
Sheet$A1:D100
If the source if a Flat file, we can use Script component as transformation to generate
the sequence number for each of the record, then add a Conditional Split Transformation
to specify the limit number of the records. For more details, please refer to the blog
below:

2. Used to select the no rows to skip from excel:


Select * from [Sheet1$A4:D]

3.Only one cell from excel: select * from [sheet1@A1:


What is the Max size of SQL Statement that you can use in Execute SQL Task Query
Editor?

The interesting thing is that the restriction only seems to be on the designer. If you set the
SourceType to "Variable" and use a variable that contains more than 32767 characters, the task
will execute. Also, if you use the "Direct Input" SourceType and modify the package XML to set
the SQLStatement longer than 32767 characters, the task also works.

SSIS - How to Find An Object ( Table,Function or Stored Procedure etc.) If It Is Used in SSIS
Package/s?
Ctrl+shift+F

1.
After developing your SSIS Package, you want to write a technical document. What
are important contents would you like to cover in that document? (Video Answer)

Welcome To TechBrothersIT
TechBrothersIT is the blog spot and a video (Youtube) Channel to learn and
share Information, scenarios, real time examples about SQL Server, TransactSQL (TSQL), SQL Server Database Administration (SQL DBA), Business
Intelligence (BI), SQL Server Integration Services (SSIS), SQL Server
Reporting Services (SSRS), Data Warehouse (DWH) Concepts, Microsoft
Dynamics AX, Microsoft Dynamics Lifecycle Services and all other different
Microsoft Technologies.

C# Scripts
DWH INTERVIEW QUESTIONS
MS Dynamics AX 2012 R2 Video Tutorial
SQL SERVER DBA INTERVIEW QUESTIONS
SQL SERVER DBA Video Tutorial
SQL Server / TSQL Tutorial
SQL Server 2016
SQL Server Scripts
SSIS INTERVIEW QUESTIONS
SSIS Video Tutorial
SSRS INTERVIEW QUESTIONS
SSRS Video Tutorial
TSQL INTERVIEW QUESTIONS

Team Foundation Server 2013 Video Tutorial


Team Foundation Server 2015 Video Tutorial
Windows 10
Windows Server 2012 R2 Installation Videos

SQL Server Integration Services ( SSIS ) Package Documentation


| How to write SSIS Package Documentation
After creating SQL Server Integration Services Package, the next step is to have the
document ready for that package. Here are some important points those I keep in
mind while writing document for my SSIS Package.

PURPOSE
Explain the purpose of SSIS Package in few lines.

JOB FREQUENCY DETAILS


Explain how the Package is going to be executed, SQL Server Agent job is going to
call or any other third party scheduler is going to call the package and often
(Schedule) the package will execute.

EMAIL NOTIFICATIONS DETAILS


Explain what type of notification package creates, In case of data validation which
team will be notified, or in case of hard failure (Connection failure etc.) which team
the package will send an email. Explain with snapshots how the emails will look like
so Production Support and other team member would know how the email will look
like.

AUDIT PROCESS ON PACKAGE START


If your package is using any audit information of start of package, It is good practice
to have some audit tables where your package should put some information at start
such as package name, start time etc. So you can track which packages are
currently running and also see execution history of different packages.
EXTRACTION PROCESS
Explain about extraction process, this heading can be further divided into sub
heading

Source

Explain from which Server, Folder or FTP Site you are extracting data. Provide the
Server Name, Folder Path or Ftp Site Address and other detail information about
Table/s or file/s which you are using as source.

Transformations And Business Logic

Explain about the business logic and transformations you are using, it can be just a
snapshot with some text about logic those you have implemented by using those
transformations.

Destination

Explain the destination you are using, if special settings are used provide them as
well.

AUDIT INFORMATION ON END OF PACKAGE


Each package should put some information in audit table once completed. This
information can be used to see if package completed successfully. If you do not
have created custom Auditing then you can ignore this part of documentation.

DEPENDENCIES
Provide list of all the objects (Stored procedures, tables, views, function, child
package etc.) on which the package depends for successful execution.

TROUBLE SHOOTING
Provide the list of the common error/failure those can happen and in case of those
errors/failure how a developer can start looking into package and troubleshoot.

DYNAMIC PACKAGE CONFIGURATIONS


Provide which type of SSIS Configuration is being used in the package; provide
details about connection managers, variables and any other information that is
maintained by using SSIS configuration. In case of SQL Server Configuration
provide the Database name and table and in case of XML configuration provide the
file path.

LOGGING AND EVENT HANDLING


Explain which type of logging is used in package. What type of events information is
captured and what actions are done in Event handler pane. Provide the information
about the path (Text file logging) or database name where log table exists.

IMPORTANT LINKS
If Business required document ( BRD) , Functional required document( FRD) or any
other documentation was provided for package in shared folder or SharePoint site ,
please those all important link in this section.

Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest

Newer PostOlder PostHome


Subscribe to: Post Comments (Atom)

Total Pageviews

1,848,490
Write To Tech Brothers
Name
Email *
Message *

Search TechBrothersIT Blog


Search

Subscribe us on YouTube
Followers
Blog Archive

o
o
o
o
o
o

2016 (257)
2015 (769)
2014 (144)
2013 (91)
December (24)
November (14)
October (3)
September (5)
August (3)
July (28)
SSIS 2012 -How To Get List of SSIS Packages With F...
SSIS - How To Read Object Type Variable In Script ...

TSQL INTERVIEW QUESTIONS [SQL Server Interview Que...


SSIS - How To Run SSIS Package By Using Excel Macr...
SSIS - Replace Multiple Characters/Words From Colu...
SSIS - Load Data To Multiple Destinations From Sin...
SSIS - Read SSIS Package File(.dtsx) for Informati...
SSIS - How to Use FTP Task [Download File from FTP...
SSIS -How to Read First Row From Flat File [Header...
SSIS -How to Check IF File Exists In Folder [Scrip...
SSIS - How to Redirect Invalid Rows From Flat File...
SSIS -How To Use Derived Column Transformation (Re...
SSIS- How to Use Row Count Transformation (Audit I...
SSIS - How To Pass Parameter Value In OLE DB Sourc...
SSIS - How To Use Conditional Split Transformation...
SSIS - How to use "Script Component As Transformat...
SSIS - How to Use "Character Map" Transformation (...
DBA - Backup Multiple Databases from Local and Lin...
DWH INTERVIEW QUESTIONS
SSIS - How To Use Aggregate Transformation (GroupB...
SSIS - How to Use Test Destination (Multicast or R...
SSRS INTERVIEW QUESTIONS
SSIS - How to Use Data Viewer in SSIS Package
SSIS -"SSIS Tutorial-How To Use Transformation" Se...
SSIS INTERVIEW QUESTIONS
SQL Server Integration Services ( SSIS ) Package ...
How to Change Scope of Variable (Move Variable) in...

Variable Grid Option (Description, Expression) in ...


June (14)
2012 (3)
2011 (9)

Popular Posts

SSIS INTERVIEW QUESTIONS


Here are some SSIS interview questions that you can expect if you interview for the
job of ETL Developer. I will be adding more questions ...

SSIS - How To Pass Parameter Value In OLE DB Source in SSIS Package


Scenario: Let's say we have to create a SSIS Package in which we need to extract
data from one of the table but only for date provi...

SSIS -How To Use Derived Column Transformation (Replace Null Values) in


SSIS Package

Scenario: Lets say we are extracting data from flat file or from Database table. Few
of the columns have Null values. In our destinat...

SSIS - How To Use OLE DB Command Transformation [ Delete Rows in Data


Flow Task]
Scenario: We have a SQL table which contains our data. Every day we get a text file
from our users and they want to delete records fro...

SSIS - Read Multiple Sheets from Excel File and Load into Table
Scenario: We have our source Excel file that has sale history. Each sheet will has
data for a year. We can get data for any number or y...

SSIS- How to Use Row Count Transformation (Audit Information) in SSIS


Package
Scenario: Lets say that we receive flat file from our client that we need to load into
our SQL Server table. Beside loading the data ...

SSIS - How To Create / Use Temp Table In SSIS Package


Scenario: We have create a SSIS Package for Upsert(Insert/Update). We get csv file
with millions of records with (Id,Name,Address column...

SSIS - How to use "Script Component As Transformation" ( InitCap In SSIS


Package)
Scenario: Lets say we are extracting data from flat file. One of the column in source
is Country Name, the data in this column is al...

SSIS -How to Check IF File Exists In Folder [Script Task]


Scenario: Sometime we get requirement something like this: Your Package should
check a flag (Cell Value) in table and if it is 1 then ...

How to Create flat file dynamically from SQL Server Table or View in SSIS
Package - SSIS Tutorial
Scenario: Download Script We have a requirement to create an SSIS Package that
should create an output file dynamically from a Table or...
Awesome Inc. template. Powered by Blogger.
2]

You might also like