Hi,
I have a table name like 'TEST_24-10-2013.[Employee_2006201_LeftBank]', I want to rename the Object without "[" and "]" in the t bale name. If i use the following syntax, it throws error
Note: the table name contains [ and ] at the beginning and end of the name.
EXEC SP_RENAME '[TEST_24-10-2013].[[Employee_2006201_LeftBank]]','Employee_2006201'
Error:
Msg 15253, Level 11, State 1, Procedure sp_rename, Line 105
Syntax error parsing SQL identifier '[TEST_24-10-2013].[[Employee_2006201_LeftBank]]'.