My Photo

Consulting/Training

Speaking engagement

January 2007

Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Google Search


My Online Status

Disclaimer

  • No Warranty..
    I have taken care in writing the articles on this blog and make no implied or expressed warranty of any sort. For any errors or omissions, I will not be responsible in any way.

« SSIS: Passing paramters to and from stored procedure | Main | SSIS: stored proc and ado.net »

November 21, 2006

Comments

Surendar

Thanks for the information as it helped a lot. I find some problem while trying to use the same method for time.
Atlast find this code and it worked cool.

+(DT_WSTR,4)DATEPART("DAY",Getdate())

+(DT_WSTR,4)DATEPART("MONTH",Getdate())

+ RIGHT("0" +(DT_WSTR,4)DATEPART("YEAR",Getdate()),2)

+(DT_WSTR,2)DATEPART("HOUR",Getdate())

+(DT_WSTR,2)DATEPART("MINUTE",Getdate())

+(DT_WSTR,2)DATEPART("SECOND",Getdate())

FP

I think, you have to set "EvaluateAsExpression=True" for that particular variable in the property tab, to make it work. Please advise if otherwise.

And ZULFIQAR SYED, you rock man. A true guru of SSIS. :)

FP

RJT

ZULFIQAR SYED, FP - KUDOS. Just what I needed - thanks.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment