Solved

integration services expression builder

Posted on 2014-07-17
1
156 Views
Last Modified: 2014-07-24
Hello,

How can I modify this ssis expression :
"/home/ftp/ushare/*"+@[User::Date]

for having getdate() -1 or yesterday.

Thanks
0
Comment
Question by:bibi92
1 Comment
 
LVL 14

Accepted Solution

by:
Vikas Garg earned 500 total points
ID: 40203820
HI,

Try this for Dateadd

"/home/ftp/ushare/*"+(DT_WSTR, 30) DATEADD("d",-1,@[User::Date])
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how the fundamental information of how to create a table.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now