BLOCKING PROCESS ALERT Exclude queries that contain objects...
PatrickW
Posts: 4 New member
Exclude queries that contain SQL commands or objects matching the following regular expressions:
I've tried to put in
insert % select * from % option (maxdop 1)
- which is my index rebuilds but it didn't work - can we have some examples?
I've tried to put in
insert % select * from % option (maxdop 1)
- which is my index rebuilds but it didn't work - can we have some examples?
Tagged:
Best Answers
-
Russell D Posts: 1,324 Diamond 5You need to escape special characters in regex.
Eginsert % select \* from % option \(maxdop 1\)
matches the query you've written above.Have you visited our Help Centre? -
Russell D Posts: 1,324 Diamond 5Just to expand upon this, the inline help does contain more information, if you click the question mark next to the regex editor:
Have you visited our Help Centre?
Answers
so, insert into select * from xxx, would become ...etc
thanks again. Happy New Year