Posted by: rawbee June 5, 2008
Login in to Rate this Post:
0
?
![](/wysiwyg/editor/images/smiley/msn/thumbs_up.gif)
![10 more flags than likes deactivates post.](/wysiwyg/editor/images/smiley/msn/thumbs_down.gif)
Can replace line 4 by since you alreay have lastid
SELECT
@NewID =(LTRIM(SUBSTRING(@LastID,2,60)+1)) FROM testall the best