Ask a Question related to Coldfusion Database Access, Design and Development.
-
vkunirs #1
Updating Sort Order on a field?
Hi
i have a customer table. i am displaying them in sorted order. but now i
have added 1 field call SortID.
now when ever if i add a new entry ...i want to sort it and i want to assign
the sorted it for that.
ex:
aaaa > 1
bbb > 2
ccc > 3
if i add aaa1 ..then its sort has to become 2 and goes one....
how to update this...using and update command....
thx in adv.
vkunirs Guest
-
PHP Sort order definitions
I couldn't seem to find this in the docs or the web doing a quick search... When doing a sort($aRay, $flag) what is the definition for how the... -
strange sort order
Hi, I have a file that appears to be somewhat sorted, but is not sorted according to the traditional unix sort. I'll give some examples, and if... -
Updating records in order (into an order)
I'm storing questions for a user-defined quiz. I can store them in the order they are entered without any problem. But... The user needs to have... -
no sort order for clients?
Hi everybody I'm running a filemaker database wich is used by serveral persone, simple sharing, no fmp-Sserver behind. At some point I make use... -
Sort order
Hi, I've a table with some rows. With 'select * from tab order by sp1' I've got the following: sp1 --- a1 a2 -
Dan Bracuk #2
Re: Updating Sort Order on a field?
What are you doing with this SortID field that you can't do with whatever field contains aaaa, aaa1, etc?
Dan Bracuk Guest
-
paross1 #3
Re: Updating Sort Order on a field?
Your method is likely doomed to failure, and you will probably end up spending
an inordinate amount of resources attempting to "re-sort" your data. Like Dan
is implying, if you can determine what the sort order is from information in
the other columns of the table, why on earth do you need a SortID column?
Phil
paross1 Guest



Reply With Quote

