Ask a Question related to Coldfusion Database Access, Design and Development.
-
cjs35816 #1
why wont my to_number work to order my data am I doingit wrong?
This is how I have been trying to do it.
select
tsk.taskname as task,
To_Number(
DECODE (
is_number (
substr(tsk.taskname,Instr(tsk.taskname, '.', 1, 1)+1,Instr(tsk.taskname,
' ', 1, 1) - 3)
)
,1, substr(tsk.taskname,Instr(tsk.taskname, '.', 1,
1)+1,Instr(tsk.taskname, ' ', 1, 1) - 3)
, 0)
) as subtaskorder,
then later ORDER BY subtaskorder
the data in tsk.taskname looks something like this
G1.1 "string name of G1.1 and info" , G1.2 "string name", and so on for quite
a while G1.19 if i recall then switches to G1.2 "string name"
in the end i just want them to be in order from 1.1 to 2.19 and not 1.1, 1.10
so if there is a better way then what im doing I would gladly take that over
fixing this one.
thanks for the help.
cjs35816 Guest
-
#39542 [NEW]: Search order for include/require wrong in get_include_path
From: snowy at corporatezoo dot com Operating system: Windows XP PHP version: 5.2.0 PHP Bug Type: Scripting Engine problem... -
Wont Work
Every time I go to Youtube or photobucket yo watch something, it says you need at least flash player 8 or whatever. And I click the link that takes... -
cfarguments wrong order
this is what i am doing... when i email myself i get this: struct AAA1 3 AAB2 1 AAC3 2 Whats up with that??? -
Table of contents - wrong order
Vicky, I'm having _exactly_ the same problem you are describing, and it's quite icomprehensible to me. Not that that is any comfort to you! But I... -
Making a PDF from multiple files -- Acrobat gets them in wrong order
Whenever I make a PDF from multiple files using the command in Acrobat 6.0.1, Acrobat puts them the wrong order. When I select the group of files... -
cjs35816 #2
Re: why wont my to_number work to order my data am Idoing it wrong?
I figured it out ho to order it.
cjs35816 Guest
-



Reply With Quote

