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 8565583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:27:31+00:00 2026-06-11T17:27:31+00:00

Why it is not converting the data type of the column, the initial datatype

  • 0

Why it is not converting the data type of the column, the initial datatype of the column is DT_STR

(DT_I8)(ISNULL(Column_Name) ? (DT_I8)NULL(DT_I8) : (DT_I8)Column_Name)

But still I am getting DT_STR as an ouput parameter

  • 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-11T17:27:33+00:00Added an answer on June 11, 2026 at 5:27 pm

    I know it seems redundant converting to a DT_STR even though you know it’s already a DT_STR but SSRS can be finicky:

    (DT_I8)(ISNULL((DT_STR,5,1252)Column_Name) ? (DT_I8)NULL(DT_I8) : (DT_I8)(DT_STR,5,1252)Column_Name)
    

    I did this in a derived column with both your way and my way coming from a DT_STR field that stored numbers and managed to get an eight-byte signed integer.

    Hope this helps!

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

Sidebar

Related Questions

I got some weired problem while converting data type in ruby. Here are some
I have a column named Lastmodified , with a data type of Date ,
I am trying to update data into the column with data type decimal(18, 18).
Not ever sure if it can be done, but is it possible to use
I have defined a column in SQL to be decimal(4,1), null which means I
I need to do something like this, but it always fails with 'Error converting
This command is working on some SQL Server databases, but not on others. select
I am having a hard time trying to figure out which data type I
I am working with an 8-bit AVR chip. There is no data type for
According to the MSDN docs , the DbType property/attribute of a Column type/element is

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.