ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to Insert value into a Reserved key word?

Post new topic  Reply to topic
 How to Insert value into a Reserved key word? « View previous topic :: View next topic » 
Author Message
busy_chap
PostPosted: Fri Jul 13, 2007 10:21 am    Post subject: How to Insert value into a Reserved key word? Reply with quote

Acolyte

Joined: 18 May 2006
Posts: 69

Hello all,
My WBI code is trying to insert values into an Oracle database. All the values are successfully insereted except for the reserved words like AS and BY.
I tried using "AS" and "BY" in the Insert statement , no use.
Has anyone come across such a problem?
Thanks in advance.
Back to top
View user's profile Send private message
mgk
PostPosted: Fri Jul 13, 2007 1:59 pm    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

How about posting an example of the code that is failing to INSERT?
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
busy_chap
PostPosted: Mon Jul 16, 2007 10:08 am    Post subject: example Reply with quote

Acolyte

Joined: 18 May 2006
Posts: 69

My WBI Insert code is as follows:
INSERT INTO Database.ABC."Table_Name"
(AP,AQ,AR,AS,BX,BY,BZ)
VALUES(1,2,3,4,5,6,7);

All the values are inserted into the database except for AS and BY as they are reserved key words in the database.

In my WBI Insert code , I also tried using "AS" and "BY" but this also never worked and I get the error which says invalid column specification.

Can anyone help me with this problem?
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Mon Jul 16, 2007 10:51 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi busy_chap,

Perhaps you can try PASSTHRU.

Regards.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to Insert value into a Reserved key word?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.