Jump to content

tricky SQL questions please


Recommended Posts

Posted
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 

  • 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

Posted
13 minutes ago, mettastar said:

Substring and length batti case statement rayali

Code eyyu eeda.. balshinda?

Posted
14 minutes ago, mettastar said:

Logs chudali

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

Posted
15 minutes ago, mettastar said:

Substring and length batti case statement rayali

give the query ??

Posted
15 minutes ago, ronitreddy said:

Ee tool vuncle?

datastage%$#$

Posted

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

Posted
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

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

Posted
47 minutes ago, mettastar said:

thanks.. never heard of identity column..  sequence number antaga

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

Posted
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

Posted
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 ?

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