Oracle and Sql server using different prefix for parameters in parametrized string.
Sql using @p1
ORA using :p1
I would like to use in my SQL just @ and in case that ORA database is used all : character should be replaces with @.
Can you please help me to create regular expression?
Here is some example SQL:
update test_table set text = :p1 where text = 'jana:klara' or some_value = :value or info = 'two'
Similar question and alternative solutions can be found here.