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

  • Home
  • SEARCH
  • 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 1025367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:55:04+00:00 2026-05-16T11:55:04+00:00

I have a SQL Task that needs to run a simple update to update

  • 0

I have a SQL Task that needs to run a simple update to update a single row.

I have set the SQLStatement to:

update agency set AgencyLastBatchSeqNo = ? where agencyID = ?

On the Parameter Mapping page I gave set Parameter 0 and Parameter 1 to variables that I know contain the right values. I have also set the Parameter Name values correctly.

In the database, the column AgencyLastBatchSeqNo is an int, AgencyID is a big int. Does anyone have a reference to find what the data types map to in SSIS? I have guessed at SHORT for the int and LONG for the big int.

When I run the task I get the following error:

[Execute SQL Task] Error: Executing the query “update agency set AgencyLastBatchSeqNo = ? where AgencyID = ?” failed with the following
error: “Parameter name is unrecognized.”. Possible failure reasons:
Problems with the query, “ResultSet” property not set correctly,
parameters not set correctly, or connection not established
correctly.

Could anyone please suggest what may be wrong?

Thanks

Rob.

  • 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-05-16T11:55:05+00:00Added an answer on May 16, 2026 at 11:55 am

    The answer to this is to change the Parameter Name value in the Parameter Mapping screen.

    Given the following query

    SELECT Id, AnimalName FROM dbo.Farm WHERE Farm_id = ?
    

    Assuming my Parameter is an integer Variable named User::Farm_id
    Choose the following values on the Parameter Mapping Screen

    Variable Name  -   User::Farm_id
    Direction      -   Input
    Data Type      -   LONG
    Parameter Name -   0
    Parameter Size -   -1
    

    Originally the Parameter Name will be “NewParameterName”. Simply change this to the ordinal position of your variable marker (“?”)

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

Sidebar

Ask A Question

Stats

  • Questions 507k
  • Answers 507k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You have to change the order of the parts of… May 16, 2026 at 4:04 pm
  • Editorial Team
    Editorial Team added an answer When mouse is over element A, you want element B… May 16, 2026 at 4:04 pm
  • Editorial Team
    Editorial Team added an answer ul {text-align:center;} li {display:inline;padding:10px;} May 16, 2026 at 4:04 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have an Exec SQL Task that runs a simple select statement but is
A have a JPA entity that has timestamp field and is distinguished by a
I have a requirement that goes as follows (trust me, I'm way too old
I have a maintenance plan that looks like this... Client 1 Import Data (Success)
can somebody help me to write a sql select to perform a task. So
Suppose I have this data: Employee Task IsCurrent -------- ---- --------- Jeff 1 Yes
We currently use SQL Server, a BPM engine, win services, and even the Windows
For the current app I am writing I have elected to place all database
I'm trying to populate a table with user information in a MS SQL database
I currently have a Windows Service which continually runs throughout the day. It has

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.