Welcome, Guest. Please login or register.
Did you miss your activation email?
02/08/12, 08:47
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  MySQL, PostgreSQL, MS SQL, Access (Moderators: Flash-db, Musicman, Ronald Wernecke, Jorge Solis, Andries Seutens)
| | |-+  ORDER BY
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: ORDER BY  (Read 1272 times)
Vincent S
Server what's that
*
Posts: 4


View Profile Email
« on: 10/20/09, 18:37 »

Hi all,

I have an sql table that I want to ORDER BY Alphabeticaly "easy" but there are some results that have a "*" in front. Now these all display first but I want them to display last, how can this be achived?

WHAT IT CURRENTLY DISPLAYS
*A
*B
*C
D
E

WHAT WANT IT TO DISPLAY
D
E
*A
*B
*C


Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6162


View Profile WWW Email
« Reply #1 on: 10/21/09, 01:19 »

After asterisk is comming before any letter, it is ordered first.
I assume the asterisk has some meaning - just move it to a new field, so it is excluded.
How you display the result is your bussines.
Logged

happy flashing
Cool
Ronald
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!