Dec 6, 2001 #1 attick111 Programmer Nov 28, 2001 21 US Does anyone know the DB2 equivalent of the following Sybase T-SQL statement @numb int select @numb=67 select @numb = @numb + 1 OR select * from mytable where code_num > 67
Does anyone know the DB2 equivalent of the following Sybase T-SQL statement @numb int select @numb=67 select @numb = @numb + 1 OR select * from mytable where code_num > 67
Dec 6, 2001 Thread starter #2 attick111 Programmer Nov 28, 2001 21 US Last stmt should read select * from mytable where code_num > @numb Upvote 0 Downvote