Update SQL Server

Two options for updating an int type data in SQL Server

$Act_Consec = $Act_Consec +1
$DBUpdate( "flink", "tblConsec", "("&$Act_Consec&")" ," NumCons ", "", "" )
$Orden_flink = $Act_Consec


If ($Cant_Real >0) And ($Cant_Teo >0) Then
$NConsec = $NConsec + 1
sql2 = "UPDATE Reportes Set Consecutivo = ("& $NConsec &")"
$DBExecute( "SEDANO", sql2 )
End If

This way I solved it
Parents Reply Children
No Data