Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Business Intelligence
»
Assign variable in derived column
Assign variable in derived column
Rate Topic
Display Mode
Topic Options
Author
Message
sumit.joshij
sumit.joshij
Posted Thursday, January 17, 2013 2:55 AM
SSC Rookie
Group: General Forum Members
Last Login: Thursday, May 09, 2013 6:06 AM
Points: 47,
Visits: 266
Is it possible or any other way to assign the Derived column expression value in a column.
for eg:
@[User::newcol]= FILE_PATH + "/" + FILE_NAME
.
Please see the attachment for the same requirement. If this way is not possible then suggest me any other way to hold the expression value in a variable.
Post Attachments
derivedcol.jpg
(
6 views,
47.23 KB
)
Post #1408252
robert.gerald.taylor
robert.gerald.taylor
Posted Thursday, January 17, 2013 7:55 AM
Right there with Babe
Group: General Forum Members
Last Login: 2 days ago @ 6:44 AM
Points: 759,
Visits: 802
sumit.joshij (1/17/2013)
Is it possible or any other way to assign the Derived column expression value in a column.
for eg:
@[User::newcol]= FILE_PATH + "/" + FILE_NAME
.
Please see the attachment for the same requirement. If this way is not possible then suggest me any other way to hold the expression value in a variable.
You can do this in a script task. Create your new derived column and then next in a script task assign that new column to the variable. See:
http://www.bidn.com/blogs/PatrickLeBlanc/ssis/1098/ssis-assign-a-value-to-variable-using-dataflow-script-task
HTH,
Rob
Post #1408431
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.