var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Simple SQL syntax question
I am a newbie to SQL code:
I want to update mytable.ref_id with a sequential number after it is ordered by mytable.date starting with '00001' and the next record having '00002' and so on.
What is the SQL statement to do this?
Thanks in advance.
modify the column of type identiy then you need not to care about it. Sybase does.
But keep in mind the buring factor and if deletions occur the sequence/identity will not be recycled
details can be obtained from rob verschoor's web site www.syspron.nl