Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Databases General > Re: Multi part ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 6 Topic 3150 of 3234
Post > Topic >>

Re: Multi part attributes design question

by Philipp Post <Post.Philipp@[EMAIL PROTECTED] > May 1, 2008 at 02:14 AM

Rik,

I fear there is no beautifull solution except to drop the sequence
number and try to do the ordering by other means, e. g. part code or
part name. The main problem is that SQL does set oriented processing
and as such is not good to handle one row at a time. All the table
inserts, updates and deletes would have to go via a special stored
procedure in order to avoid that the sequence numbers do not get out
of sync (Some good examples here:
http://unixadmintalk.com/f27/sequential-number-update-267509/).
If you update the table directly you easily destroy the sequence
number and then suppose you have a query that relies on the fact you
always have a sequence number 1 and at some places it is not available
- then your results are destroyed and there is much fun in repairing
this.

brgds

Philipp Post
 




 6 Posts in Topic:
Multi part attributes design question
Rik Hemsley <rikkus@[E  2008-04-29 05:11:38 
Re: Multi part attributes design question
Rik Hemsley <rikkus@[E  2008-04-29 07:21:40 
Re: Multi part attributes design question
Lennart <Erik.Lennart.  2008-04-29 09:29:41 
Re: Multi part attributes design question
Robert Klemme <shortcu  2008-04-30 23:36:56 
Re: Multi part attributes design question
Philipp Post <Post.Phi  2008-05-01 02:14:49 
Re: Multi part attributes design question
--CELKO-- <jcelko212@[  2008-05-05 11:36:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 21:54:41 CDT 2008.