Jump to content

oracle query help please?


bandababu

Recommended Posts

table lo oka CLOB column data itla undi

COLUMN A
QUARTERLY BONUS IS NOT GOOD
5000
YEARLY CANDIDATE STATUS
WEAK

 

candidate status tharuvatha unna word 'weak' extract cheyyali   ? 

Link to comment
Share on other sites

2 minutes ago, SUbba LIngam said:

select to_char(substr(columnA,instr(columnA,'WEAK'),4)) from table_name where instr(columnA,'WEAK') > 1

status can change. WEAK or STRONG or MODERATE edaina undochu. appudu etla rayali query ?

Link to comment
Share on other sites

5 minutes ago, bandababu said:

status can change. WEAK or STRONG or MODERATE edaina undochu. appudu etla rayali query ?

will there be any specific position number with the status value in columnA?

Link to comment
Share on other sites

1 minute ago, SUbba LIngam said:

will there be any specific position number with the status value in columnA?

the value will be displayed below after status text 

Link to comment
Share on other sites

1 minute ago, bandababu said:

yeah undi status value kinda 

employee type undi

ok, try to find out the position numbers of both employee type and candidate status, the difference of those two values should be the status text right?

Link to comment
Share on other sites

3 minutes ago, SUbba LIngam said:

ok, try to find out the position numbers of both employee type and candidate status, the difference of those two values should be the status text right?

position varies man. CLOB column lo chala words untayi. query etla rayali ?

Link to comment
Share on other sites

1 minute ago, bandababu said:

position varies man. CLOB column lo chala words untayi. query etla rayali ?

select to_char(substr(columnA, instr(columnA,'CANDIDATE STATUS'), instr(columnA,'EMPLOYEE TYPE')-(instr(columnA,'CANDIDATE STATUS')+16)))  from table_name

P.S. i am not sure man without analyzing the data in clob column

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...