Solved

integration services expression builder

Posted on 2014-07-17
1
155 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
separate column 24 21
sql server query? 6 28
Report Builder 9 31
Need help writing 2 Insert Query Scripts in SQL Server 2012 4 28
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

746 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

14 Experts available now in Live!

Get 1:1 Help Now