Hiii, i have m rows & n columns in my table..how to convert it into m columns & n rowa by using sql..pls help me...thanks.

hiii,
I have a table which has 14 rows & 8 cols.
I want covert it into 14 cols & 8 rows,
by using sql how to do it..pls help me.

Oracle Database Search Results: pivot

Similar Messages

  • Hi everyone, I have received a new iphone today. I have an ipod touch but no longer have the computer it is synced to. How do I get my music from the touch to my new iphone? many thanks Anna-Marie

    Hi everyone, I have received a new iphone today. I have an ipod touch but no longer have the computer it is synced to. How do I get my music from the touch to my new iphone? many thanks Anna-Marie

    Joe Z in VA wrote:
    First try this:
    - Go on iTunes computer
    - plug in the iPod
    - authorize your device from store/authorize
    - iPod / transfer from iPod by right clicking on the left pane
    This will only transfer iTunes purchased music, not ripped CDs. and it is unnecessary now, as the music can just be downloaded from the cloud.

  • I have iTunes 11 on PC and Mac. How do I transfer SOME songs from PC to Mac using ver. 11? Help!

    i have iTunes 11 on PC and Mac. How do I transfer SOME songs from PC to Mac using ver. 11? Help!

    Use Home Sharing
    Understanding HomeSharing
    Setting up Home Sharing

  • I Have iPad4 and using with Aricel Prepaid 3G SIM, How to check my VAlidity period and balance amount through iPad?. pls help me

    I Have iPad4 and using with Aricel Prepaid 3G SIM, How to check my VAlidity period and balance amount through iPad?. pls help me, M.Kumar, Chennai,
    <Email Edited By Host>

    There are 2 concepts attached to a bank balance. The balance as per your books of accounts and another is the balance maintained with the bank. I believe i need not explain these 2 concepts. These 2 balances can be obtained from Oracle system provided some of prerequsities are met with.
    Balance as per your books - This is nothing but the GL balance available. In order to obtain balances for each bank accounts, it is advised that each bank account should have a separate account code combination. This is achieved generally by having a separate natural account for each bank. The code combination is attached to the cahs account for each bank. By maintaining separate account code combination, the balance in each code combination can be obtained from GL (provided transactions are accounted and posted in GL). These balances represent the balance for each bank according to your books of accounts. You can create an FSG for this purpose and provide the same to the customer, so that they can run the same whenevr they want.
    Balance as per bank - This balance is maintained by oracle in 2 ways - either the bank balance can be manually entered for each bank account for each date (quite cumbersome). Else, while loading the bank statement, the bank balances are also loaded. There are various types of bank balances stored - value dated balance, available balance, float balance etc. Depending on the balances provided by bank along with the bank statement, the bank balance can be recorded in oracle system. After the bank statement is uploaded and balances stored, standard cash management reports are available to query for the bank account balances. In order to view daily movement, the bank statement should be loaded on daily basis.
    Hope this helps.
    Vinit

  • HT4993 i have iphone5 A1429 locked by sprint. now i am in Saudia Arabia. i want to unlock it for all carrier. pls help me.

    i have iphone5 A1429 locked by sprint. now i am in Saudia Arabia. i want to unlock it for all carrier. pls help me.

    Are you a Sprint customer? If so, contact Sprint and see if you qualify to have it unlocked for use on non US carriers.
    If you are not a Sprint customer, sell it to someone in the US who can use it. Sprint will only unlock iPhones for current Sprint customers in good standing.

  • I have the 5S and there is a check mark next to no sound when phone is in lock mode that prevents me from getting my calls and messages. How can I turn that off? Clicking it does nothing. Please help! Thanks!

    I have the 5S and there is a check mark next to no sound when phone is in lock mode that prevents me from getting my calls and messages. How can I turn that off? Clicking it does nothing. Please help! Thanks!

    Thanks for taking the time to try to help me. . I checked and the Do not disturb is off. The check is still there stopping calls from coming in when phone is locked. Any other ideas? Thanks again!

  • I have an error message that comes up when i try to get into itunes... 0x 80092013 can anyone help

    i have an error message that comes up when i try to get into itunes... 0x 80092013 can anyone help

    Hi Katy19831,
    Thanks for using Apple Support Communities.  These articles may help with the error you're seeing:
    Apple software on Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Cheers,
    - Ari

  • I have a new iphone6+  and have paired it to my 3 cars. When playing music from my iphone, the volume is very low and I have to turn the car volume to max to listen. I had no issues with previous iphone parings. Pls help.

    I have a new iphone6+  and have paired it to my 3 cars. When playing music from my iphone, the volume is very low and I have to turn the car volume to max to listen. I had no issues with previous iphone parings. Pls help.

    Sorry if this is too basic or confusing
    Apparently in iOS 8 there are different volume settings for different applications
    The setting on the home screen does not carry over to Pandora for example and it is different ( or at least appears to be) for the in-car experience.
    So I would try to stream the music when not in the car - see if you can turn the volume up and then try again in the car
    Please let us know what happens
    Thanks

  • Hi i am from india and i am using iphone 5 but i have problem with charging last 20 % suddenly my phone switched off every day and som heating when i am using internate pls help me where i can check whether my phone waranty is valid on expire

    hi i am from india and i am using iphone 5 but i have problem with charging last 20 % suddenly my phone switched off every day and som heating when i am using internate pls help me where i can check whether my phone waranty is valid on expire

    https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • HT1212 i have forget the passcode of my iphone could u pls help me thanks

    i have forget the password of my iphone could u pls help me thanks.

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    Forgotten Restrictions Passcode Help
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    Also, see iTunes- Restoring iOS software.

  • HT201272 I have just downloaded an app to my computer through itunes.  It shows up as downloaded to my ipad, which I don't have.  I want it on my computer.  I follow all the instructions and always come to a deadend.  Help!  Thanks!

    I have just downloaded an app to my computer through itunes.  It shows up as downloaded to my ipad, which I don't have.  I want it on my computer.  I follow all the instructions and always come to a deadend.  Help!  Thanks!

    Welcome to the Apple Community.
    You can re-download content purchased from the app store using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    Why do you want it on your computer, apps won't run on a computer.

  • HTML Table with alternative row color, Using SQL XML

    Hi,
    I want to send out an email and the email body contains a table with data. I am using SQL to create the HTML table and to populate values inside the table. Below is the code I have so far
    DECLARE
    @HTML NVARCHAR(MAX)
    IF (SELECT
    COUNT(*)
    from Employee])
    != 0
    Begin
    SET
    @HTML =
    '<html><style>
          tr:nth-of-type(even) {
          background-color:#ccc;
    </style><body><h1 style="font-family:Tahoma; font-size:12px;">Hi,</h1>'
    +
    'Below is the report'+
    '<br></br>'+
    '<table border="1" width="100%" style="border:1px solid #77bfe4;font-family:Tahoma; font-weight:normal; font-size:12px;" cellpadding="4" cellspacing="0">'
    +
    '<tr bgcolor="yellow" style="font-family:Tahoma; font-weight:bold; font-size:12px;"><td colspan="2"><center>Report</center></td></tr>'+
    '<tr bgcolor="Blue" style="font-family:Tahoma; font-weight:bold; font-size:12px;"><td><center>Col1</center></td><td><center>col2</center></td></tr>'
    +
    CAST((
    Select
    td =
    col1, '',
    td
    = col2
    , '' from
    (Select ID as col1, Emp as Col2
    from
    Employee) E
    FOR XML
    PATH('tr'),
    TYPE
    AS NVARCHAR(MAX))
    + '</table><br>Thank you</br></body></html>'
    END
    select
    ISNULL(@HTML,'NoEmail')
    But I am having trouble generating alternative colors for each row (tr:nth-of-type(odd) is not working for me)
    Below is what the table should look like 
    Please help.
    Thank you for your help in advance. 

    Thank you for the response, I got the code to work.
    DECLARE @HTML NVARCHAR(MAX) ;
    IF (SELECT COUNT(*) from Employee]) != 0
    Begin
    SET @HTML = '<h1 style="font-family:Tahoma; font-size:12px;">Hi,</h1>' +
    'Below is the report'+
    '<br></br>'+
    '<table border="1" width="100%" style="border:1px solid #77bfe4;font-family:Tahoma; font-weight:normal; font-size:12px;" cellpadding="4" cellspacing="0">' +
    '<tr bgcolor="yellow" style="font-family:Tahoma; font-weight:bold; font-size:12px;"><td colspan="2"><center>Report</center></td></tr>'+
    '<tr bgcolor="Blue" style="font-family:Tahoma; font-weight:bold; font-size:12px;"><td><center>Col1</center></td><td><center>col2</center></td></tr>' +
    CAST(( SELECT CASE when (ROW_NUMBER() over (Order by Col1 DESC))%2 = 0 then '#E0E0E0' else 'white' END as "@bgcolor", '',
    td = col1, '',
    td = col2 , '' from
    (Select ID as col1, Emp as Col2
    from Employee) E
           FOR XML PATH('tr'), TYPE
    ) AS NVARCHAR(MAX)) + '</table><br>Thank you</br></body></html>'
    END
    select ISNULL(@HTML,'NoEmail')

  • I just lost my iphone5 in a foreign country. Was not able to register it with icloud and have not installed the findmy iphone app. How can i wipe out my data remotely without these setups? Please help!

    I just lost my iphone5 in a foreign country. Was not able to  previously register it with icloud and have not installed the findmy iphone app. How can i wipe out my data remotely without these setups? Is there any good app i can use to track it? Please help!

    No, nothing you can do to track it if you did not take any measures before the loss.

  • I have i phone 4s.i couldnt access my contacts.i can do it if i am in the call..pls help

    i have i phone 4s.i couldnt access my contacts.i can do it if i am in the call..pls help

    Try resetting your device (no data will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Silver Apple appears (up to 30 seconds)
    Once the Home screen redisplays, tap on the Contacts in your phone app again to see if your contacts are now showing.
    If that doesn't work, then you need to let us know if you are backing up your data to iCloud or to a computer running iTunes. We will then be able to provide you with some other troubleshooting steps.
    Cheers,
    GB

  • Rearranging A Column with a Push button..pls help

    Hi ,
    I have a form in which there is a 'Names' column or field
    I want push button to reaarrange the all the Name entries in the Names column in the following way when button is pressed.
    Foe example:
    Defult condition of all the entries in the names column: Vass, WPUJC
    i want that when Push button pressed 1st time all the names in the names field come into this format: WPUJC Vass
    i.e. the abbreviated name changes its position and comes first..
    When Push button is pressed again: Vass, WPUJC
    it comes back to the defualt poistion
    and so on on every alternative push...it follows the the same routine..
    Would anyone pls tell me what coding i need to do on when button pressed trigger
    I would be extremely grateful if some one write that for me..
    regards,
    Sonali.

    is your data is in a standard fixed format? like in the example u said Vass, WPUJI. it containes a comma,follwed by a blank space, if you have all the field values in the same format you could write a based on that. and do swapping. let the code start with first_record upto last_record.

Maybe you are looking for