Solved

integration services expression builder

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

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Transact SQL - Frequency of Length of Distinct Values 3 26
Where is the Help Section? 8 29
Shrink multiple databases at once 4 30
Amazon RDS Server load 2 17
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
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 videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

821 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