--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva...@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
What SQL DB are you using? What version? Do the numbers change only upon update? Are you trying to make an audit log which doesn't record the mutated tuples but just the fact that a change was made? What's your use-case?There are some options once we figure out what you're trying achieve: triggers (in various ways), a FOR UPDATE (explicit lock) which updates the row + the sequence_number afterwards.
On Mon, Nov 7, 2016 at 10:40 AM Mel Riffe <mri...@gmail.com> wrote:
Howdy Folks!I was hoping someone can point me in the right direction.I have a table of associated data. I added to this table 'sequence_number' that is supposed to order the data within its owner.OLD:idowner_idnameNEW:idowner_idsequence_numbernameIs there a SQL UPDATE Statement that can be crafted such that the sequence numbers for an owner_id can be populated 1, 2, 3, etc?Thanks,
Mel
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva+unsubscribe@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva...@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva...@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva+unsubscribe@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva+unsubscribe@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva+unsubscribe@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva...@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva...@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva...@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva...@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva...@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva...@googlegroups.com.
To post to this group, send email to refac...@googlegroups.com.
Visit this group at https://groups.google.com/group/refactorrva.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RefactorRVA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refactorrva...@googlegroups.com.