Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

How to rename a table dynamically using SSIS 2012?

$
0
0

Hi,

I have a table called Employee.  As per the requirement, I need to rename the table dynamically whenever the ssis package runs.Example, is it runs on 4/12/2020, it should be renamed to Employee_bkup_04122020. Can you please help me on how to pass the _bkup_mmddyyyy part here below?

EXEC sp_rename 'Employee', 'Employee_bkup_mmddyyyy'


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>