Search

Expression Task in SSIS does Not work correcly under certain cases by Spandan Buch

Active

1
0
Sign in
to vote
Type: Bug
ID: 772474
Opened: 11/28/2012 12:46:36 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
Expression Task by default considers length of previous assigned value when the new value is not of string type. For string type assignments its working correctly.

if 4 characters are assigned earlier then getdate() assignment returns 4 characters only. if 5 then 5 and if none then 0
Details (expand)

Product Language

English

Version

SQL Server 2012 - Developer Edition

Category

Developer Tools (SSDT, BIDS, etc.)

Operating System

Other

Operating System Language

US English

Steps to Reproduce

1. Create SSIS variable of string type and assign four whitespaces as default in Value property
2. Add a expression task
3. In expression task assign the variable with getdate() and press evaluate.

Actual Results

2012 will be displayed

Expected Results

2012-11-28..... should be displayed

Platform

X64

Virtualization

 
File Attachments
File Name Submitted By Submitted On File Size  
Test1.zip (restricted) 11/28/2012 -
Sign in to post a comment.
Posted by Spandan Buch on 4/2/2013 at 12:18 AM
Any Updates on this item. It has been 4 months since the issue was reported.
Sign in to post a workaround.