InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InstantDB: How to Concatenate Carriage Return


Dear Sir or Madam,

Is there a way to concatenate a carriage return when we insert a row onto an 
InstantDB database?

This is what I get when I tried to use " || chr(13) || chr(10) || ":



java.sql.SQLException: insert into BLOCK values 
("Input_P1Milestones",1000706,1,"string","End-Phase Review" || chr(13) || 
chr(10) || "     ",5)
Don't understand SQL after: "insert"
Expected: "}" found: "|"
at org.enhydra.instantdb.db.SQLProg.execute(SQLProg.java:219)
at org.enhydra.instantdb.jdbc.idbStatement.execute(idbStatement.java:235)
at 
org.enhydra.instantdb.jdbc.idbStatement.executeUpdate(idbStatement.java:103)
at org.enhydra.instantdb.SampleThread.run(ScriptTool.java:474)
at java.lang.Thread.run(Thread.java:484)



I am using a PC + Windows 2000 + JDK 1.3 + Enhydra shell.

Mulyadi Kurniawan
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.