Jump to content

tricky SQL questions please


mettastar

Recommended Posts

13 minutes ago, mekapichal_mnthmkura said:

8 rows unnay.. aa data set lo..

4 pakkana migitha 4 ravali..

pivoting  type annattu.. cheyy

piovting kadu broo pivot eh case lo varthinchadu 

Link to comment
Share on other sites

  • Replies 57
  • Created
  • Last Reply

Top Posters In This Topic

  • mettastar

    25

  • rakeshchinna

    9

  • former

    6

  • Srimantudu

    3

Popular Days

Top Posters In This Topic

3 minutes ago, former said:

Loga ante DBA kada. As a deveploer you can use ORA_ROWSCN pseudocloumn to get it in the query

transaction logs nunchi kuda identify cheyachu kada vuncle.. never heard of ORA_ROWSCN.. nive to know

Link to comment
Share on other sites

2 minutes ago, sarkaar said:

Read consistency and snapshot too old error ante ento cheppu. neeku entha skills unnayo cheptha

never heard of it vuncle.. SQL questions adugu vuncle .. 

Link to comment
Share on other sites

7 minutes ago, former said:

give the query ??

select name

, case when length(regexp_substring(name,'[^  ]+', 1,1) )<>0 then regexp_substring(name,'[^  ]+', 1,1) end Fname

, case when length(regexp_substring(name,'[^  ]+', 1,2) )=1 then regexp_substring(name,'[^  ]+', 1,1) else null end MName

, case when length(regexp_substring(name,'[^  ]+', 1,2) )=1 then regexp_substring(name,'[^  ]+', 2,2) else regexp_substring(name,'[^  ]+', 1,2) end Lname

, case ... similar as above

from table

Link to comment
Share on other sites

7 minutes ago, Srimantudu said:

u have to have the same data but only identity column values has to change

ardam kaala .. is this another question u r asking me ?

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