Welcome to Sign in | Help

Re: update pe un field

  •  01-21-2008, 8:53 PM

    Re: update pe un field

    Iti lipseşte un fetch next din while:
    fetch next ...etc...

    WHILE (@@FETCH_STATUS <> -1)
    BEGIN
    IF (@@FETCH_STATUS <> -1)
    BEGIN

    set @_string_long=@_numeCh+@_prenumeCh+@_functieCh+@_departamentCh+@_managerCh+@_user_AD
    update preluate_last set compare= @_string_long where [index]=@_index
    set @_index=@_index+1
    end

    fetch next ...
    end
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems