Re: CRLF for memo fields in SQL statement
From: Dmitri Ivanov (divanov_NOSP_at_M_.aha.ru)
Date: 06/24/04
- Previous message: SqlJunkies User: "Re: CRLF for memo fields in SQL statement"
- In reply to: SqlJunkies User: "Re: CRLF for memo fields in SQL statement"
- Next in thread: SqlJunkies User: "Re: CRLF for memo fields in SQL statement"
- Reply: SqlJunkies User: "Re: CRLF for memo fields in SQL statement"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 24 Jun 2004 09:58:03 +0400
Hello SqlJunkies,
"SqlJunkies User" <User@-NOSPAM-SqlJunkies.com> wrote:
SU> OK - I've moved on a little.
SU>
SU> I'm now building the string as follows...
SU>
SU> 'insert into a_table values('abc',123,'line
SU> one'+Char(13)+Char(10)+'line two')
SU>
SU> Which works in SQL Server, but gives me an 'File 'char.prg' does
SU> not exist.' error.
SU>
SU> Is this a Foxpro thing? Is it because I am accessing it as a free
SU> table instead of through a DBC?
SU>
SU> Please help!
It is always safer to pass such strings via parameter or cursor update
rather than through an SQL sentence.
-- Sincerely, Dmitri Ivanov Common Lisp ODBC interface - www.ystok.ru
- Previous message: SqlJunkies User: "Re: CRLF for memo fields in SQL statement"
- In reply to: SqlJunkies User: "Re: CRLF for memo fields in SQL statement"
- Next in thread: SqlJunkies User: "Re: CRLF for memo fields in SQL statement"
- Reply: SqlJunkies User: "Re: CRLF for memo fields in SQL statement"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|