replace the value in a string by the input from user
683484Jun 9 2009 — edited Jun 10 2009I have the following query
Update table1 set col1 = replace('ServerName\folder1\test', 'ServerName', @Servername)
I have to run this in sqlplus.
I want to ask the user the value for the @ServerName and replace it to the Servername in the string above.
Does anyone know how to do it?