Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Using an HTTP connection manager and there is a url of a site and the url changes based on date. This is last months url:https://awebsite.com/downloadables/2012/file1209.zipHere is this months:https://awebsite.com/downloadables/2012/file1210.zipI need to set it up so the following bold items change based on the date of the month and year:https://awebsite.com/downloadables/2012/file1209.zipAny ideas? Is there a better way to do this? The endgame is to automate this process.Thanks
sunitabeck
Master Smack Fu Yak Hacker
5155 Posts
Posted - 2012-10-19 : 12:25:13
You can use an expression such as shown below to construct the URL. You would replace the GETDATE() with the column name or variable that holds the date of interest to you.