Cold Fusion invalid character error being thrown.

The attached file is throwing an error:

Error Executing Database Query.  
[Macromedia][Oracle JDBC Driver][Oracle]ORA-00911: invalid character  
The error occurred in D:/inetpub/wwwroot/23_Reports/23QueueStatusDetailRpt.cfm: line 28
26 : <cfset grandCount = 0>
27 :
28 : <cfquery name="queueData" datasource="#dsn#">
29 : Select
30 :      distinct q.queue_name,

I've attached the cfm file in .txt format

Does anyone see why this is being thrown? Its working in another report with a different query but I can't find why it's being thrown.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
Are you sure you posted the correct file?  I cannot find any difference between it and the working one (queue_status_report_01.txt) in your other question.  Well except the title: <title>24 Queue Status Detail</title>
QuackdeveloperAuthor Commented:
check that one...sorry. Very little sleep last night trying to figure this out. Due by EOD Friday and I still have to set up the excel version.
slightwv (䄆 Netminder) Commented:
Check which one?
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

QuackdeveloperAuthor Commented:
I deleted the first and uploaded the correct version under the same name...the file that is currently attached.
slightwv (䄆 Netminder) Commented:
Get rid of the ending ';'.

It is necessary for SQL tools but not Cold Fusion and other tools

order by 1,2,3,4,5,6,7,8;

order by 1,2,3,4,5,6,7,8

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
QuackdeveloperAuthor Commented:
I believe that fixed it...I have a user account issue preventing the report from running but I feel it will fix it. You're a beautiful person!

Will mark everything on this appropriately as soon as I confirm everything. THANKS!!!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.