Thomas,
This is the message I get when I run it!
Server: Msg 174, Level 15, State 1, Line 2
The substring function requires 3 arguments.
update CallLog
set test= substring(cause,charindex(cause,'-')+1)
, cause = substring(cause,1,charindex(cause,'-')-1)
;
Where did I go wrong?
Thanks, Gabby