aspose file tools
The moose likes JDBC and the fly likes How to read a '\n; new line character from Sybase DB ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "How to read a Watch "How to read a New topic
Author

How to read a '\n; new line character from Sybase DB ?

Rohan Kayan
Ranch Hand

Joined: Sep 17, 2004
Posts: 123
How to read a '\n; new line character from Sybase DB ? In the table we have some string "\Device\newpath" while reading it using plain prepare statement on the output it is showing "\Deviceewpath" . Is there any way by which we can get the output "\Device\newpath" ?


TIA


SCWCD 1.4, SCJP 1.4
Andrey Kozhanov
Ranch Hand

Joined: Mar 12, 2010
Posts: 79
I believe the problem is in database driver you use. Try to use another one.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35252
    
    7
What is "on the output"? How are you trying to display the string? Is the data correct in the DB? Have you examined all individual characters of the string returned from the DB to see what is actually in it? If not, that's where you should start.

I doubt that it has anything to do with the JDBC driver.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to read a '\n; new line character from Sybase DB ?
 
Similar Threads
String Literals
readLine() and read() functionality
Doubt in Constructor invocation
Writing a new line character
Overloading,Overriding, Runtime Type