Solved

integration services expression builder

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server - Set Value of Multiple Fields in One Query 10 25
TSQL - How to declare table name 26 31
Return 0 on SQL count 24 30
SQL Query Help Top 1 and Distinct? 6 27
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

832 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