Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8965499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:49:02+00:00 2026-06-15T16:49:02+00:00

I using script component for validating data more 50 columns. But it take more

  • 0

I using script component for validating data more 50 columns. But it take more time. Any body give solution for this validation without third party tool in ssis.

For example :

I have validate dob column in following points

  1. Date format is correct or not.This my expecting format(mm/dd/yyyy).
  2. DOB not equal to empty.
  3. DOB value not greater than (12/31/9999).
  4. DOB value also check is date or not.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T16:49:02+00:00Added an answer on June 15, 2026 at 4:49 pm

    If you have doubts about the fields in your excel file, you can import the data to a Staging Table, create the table with all the fields as varchar and insert the data from the file there, when the data is loaded you can work with an sql validation or with ssis components to verify the data, you should test which is faster.

    Edit 1:
    After this you can create functions to validate each field like:

    CREATE Function [dbo].[Validate_Field](
        @Code [varchar](2),
        @Code2 [varchar](2)
    )
    Returns VarChar(50) AS
    BEGIN
        Declare @return Varchar(50)   
        SET @Salida = ''    
        IF @Code = '29' RETURN 'Something 1'    
        IF @Code2 = '21' RETURN 'Something 2'   
        ELSE RETURN 'Missing'   
        Return (@return)
    END
    
    
    SELECT [dbo].[Validate_Field](Field1, Field2)
    FROM Staging_Table
    

    I hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been using this script for a long time and it works perfectly in
I am using this in Script Component In SSIS --> Microsoft.Office.Interop.Excel.Application objXL = new
I'm using this script below for loading a hidden div, inside another: $(document).ready(function(){ $(function()
Is there any way to find out which asp.net component has focus by using
Using a source script component in SSIS, I am attempting to retreive details of
I need to create a component using ActionScript. Can't use mxml in this case.
I want to extract data from HTML table using Python script and save it
I have written script component using vb.net and using following: Dts.VariableDispenser.LockForWrite(User::StepStartTime) Dts.VariableDispenser.LockForWrite(User::StepEndTime) Assigned value
I have a synchronous transformation script component, with some input columns, and an extra
How to skip some records in script component without using conditional split component?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.