Actually, I forgot to ask... is the oracle server on that same Solaris machine, or is it somewhere else? If it's somewhere else, it's more likely that you may need to figure out what encoding it uses.
To keep it simple, if you have any other kind of tool that can query and display content from that database, use that to try out some queries; if they work as expected, store the query strings and results in a file. For now, don't worry about what the character encoding is -- if you can read it and it makes sense, you've got the right encoding (that is, the one that works in your current environment).
Then try to write a perl script that will read the file, run the queries, and compare the results it gets against the results in the file. If it doesn't work, make sure the perl script writes its queries to a new output file, so you can compare that version of the query text against the original data that worked with the other tool. (You might need to use a hex-dump tool to do that comparison.)
In reply to Re^3: db prepare failed:invalid character error : Perl DBI - Help plz
by graff
in thread db prepare failed:invalid character error : Perl DBI - Help plz
by srini_sun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |