cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
timhodgson
Level 3

SQL Script Replacement IS_SQLSERVER_DATABASE

I'm trying to do something very basic with the text replacement in my SQL Script.

The script starts with
use [CatalogName]

I'm replacing "[CatalogName]" with "[IS_SQLSERVER_DATABASE]", but it's not working - it doesn't get replaced.

What am I doing wrong here?
Labels (1)
0 Kudos

(1) Reply
skolte
Level 7

You have to remove the square brackets [] from CatalogName.


0 Kudos