Jump to content

Sqoop chestunte issue


nuzvid_mamidikaya

Recommended Posts

table name "group" ani undi. sql server DB. As "group" is keyword it is failing with following issue

 

 ERROR manager.SqlManager: Error executing statement: java.sql.SQLException: Incorrect syntax near the keyword 'Group'.

 

tried using  ' ' , ` `, \  but no luck. any one having any idea?

Link to comment
Share on other sites

use double quotes .. usually when column names are keywords we use double quotes .. so try that way it may work 

like 

SELECT 

"A" 

FROM "GROUP" 

Link to comment
Share on other sites

6 minutes ago, mettastar said:

use double quotes .. usually when column names are keywords we use double quotes .. so try that way it may work 

like 

SELECT 

"A" 

FROM "GROUP" 

will try and update. thanks

Link to comment
Share on other sites

2 hours ago, nuzvid_mamidikaya said:

table name "group" ani undi. sql server DB. As "group" is keyword it is failing with following issue

 

 ERROR manager.SqlManager: Error executing statement: java.sql.SQLException: Incorrect syntax near the keyword 'Group'.

 

tried using  ' ' , ` `, \  but no luck. any one having any idea?

ltt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...