Guest User

Untitled

a guest
Jan 19th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. set ActualRegex = REPLACE(ActualRegex, ActualRegex, ActualRegex + '[dD]*')
  2.  
  3. Msg 8152, Level 16, State 14, Line 1
  4. String or binary data would be truncated.
  5. The statement has been terminated.
  6.  
  7. update [Registration].[dbo].[MigrationOfTagTypes] set ActualRegex =
  8. REPLACE(ActualRegex, ActualRegex, ActualRegex + '[dD]*')
  9. where Regex != '' and Regex like '%%' escape ''
  10.  
  11. Msg 8152, Level 16, State 14, Line 1
  12. String or binary data would be truncated.
  13. The statement has been terminated.
  14.  
  15. update [Registration].[dbo].[MigrationOfTagTypes] set ActualRegex =
  16. RTRIM(REPLACE(ActualRegex, ActualRegex, ActualRegex + '[dD]*'))
  17. where Regex != '' and Regex like '%%' escape ''
  18.  
  19. update [Registration].[dbo].[MigrationOfTagTypes]
  20. set ActualRegex = RTRIM(ActualRegex) + '[dD]*'
  21. where Regex != '' and Regex like '%%' escape ''
Add Comment
Please, Sign In to add comment