﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 Integration Services  / Rename TableName To Datetime / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 02:24:18 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Rename TableName To Datetime</title><link>http://www.sqlservercentral.com/Forums/Topic521538-148-1.aspx</link><description>declare @TableName char(50)select @TableName = 'PING_' + left(convert(char(50), getdate(), 120), 4)print @TableNameexecute sp_rename 'PING', @TableName</description><pubDate>Mon, 23 Jun 2008 02:50:24 GMT</pubDate><dc:creator>Suresh B.</dc:creator></item><item><title>Rename TableName To Datetime</title><link>http://www.sqlservercentral.com/Forums/Topic521538-148-1.aspx</link><description>Hi.I'm working on a script that moves data from one table to another (This one is created dynamic).I'm using:USE ping_statisticsGOSELECT * INTO PING_TempFROM HostbackupEXEC sp_rename 'PING_Temp', 'HostInfo_(getdate)'Where I would like the name of the new table to be"PING_2008" Where 2008 is the current year.Can anyone help me here?\Jan.</description><pubDate>Mon, 23 Jun 2008 00:04:18 GMT</pubDate><dc:creator>Jan A</dc:creator></item></channel></rss>