what you can do is try dumping the query first before you output
<cfdump var="#getPass#">
Main Topics
Browse All TopicsI know there is a simple answer and that I am forgetting something simple, but any help would be appreciated. I am performing a simple query on a table with ids, account numbers and passwords in it.
These passwords were inserted directly into SQL server and are all strong, but they have random special characters in them (for example, a password could be D=aE#45wxy).
I am running a query via ColdFusion to pull the passwords and encrypt them. When I run a simple query to select all from the table, some passwords are truncated (for example, they will just show a part of the password).
I talked to the database guy and he assured me that all the passwords are strong and have the right amount of characters. I'm thinking the truncation is due to certain conflicting special characters (maybe quotes or pound signs - I don't know - it is strange because there are passwords displaying that have a pound sign in them, or a greater than or less than sign).
Can anyone think of the obvious thing I'm missing here to return the text in the SQL server database?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: Jones911Posted on 2009-02-20 at 09:31:29ID: 23694184
Write it to a file. You'll probably find its turnign some of the funny chars into HTML.
/cf8/#HTML CodeFormat
<br>
or try:
http://www.cfquickdocs.com
<cfoutput query="getPass">
#id# #HTMLCodeFormat(password)#
</cfoutput>