Hi,
I have a variable that holds a database name:
set @databasename = '[' + 'databasename' + '].'
I need to extract just the 'databasename' part and not the '[' or the '].' parts. The 'databasename' could be any length of characters. What is the best way to do this?
Any help would be greatly appreciated.
Thanks in advance for your help.