If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Problem Oracle with '\' and 'and'

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-13-03, 05:43
lzecchin lzecchin is offline
Registered User
 
Join Date: Nov 2003
Posts: 1
Talking Problem Oracle with '\' and 'and'

Hello for all, I'm a new user and my English isn't very good .. sorry!
I have a problem with an INSERT in Oracle, the code tha I inserd is:

INSERT INTO Schema VALUES(schema_seq.nextval,’C:\Documents and Settings\Laura\Desktop\Tesi\File_OGaggi’)

the error is:

Error: ORA-00911: invalid character


[Executed: 13/11/03 10.31.25 GMT ] [Execution: 0/ms]

I think that the problems are '\' and the word 'and'. Someone know what can I do? Thank you, by by,

Laura.
Reply With Quote
  #2 (permalink)  
Old 11-13-03, 06:17
TeeWan TeeWan is offline
Registered User
 
Join Date: Nov 2003
Location: Berlin, Germany
Posts: 6
Re: Problem Oracle with '\' and 'and'

It seems to me that You have quoted Your string with the wrong character (´)

You must use ' instead.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On