How to fix year date on an album?

So, recently, I've decided to add songs (Purchased B-sides) on an album that I've already ripped from my disc on my iTunes. I didn't have any issue when I did it to two out of the three purchased songs (Changing album cover, album name, year, etc.) Then, I reach to this song (released 2003) and applied it to the album, changed the info to match to the rest of the album and it now appears as the whole album was released 2003 on my phone. The album was released 1991. I've tried everything I could think of. Chose the album and applied the info, gone song to song to match each others info. Nothing seems to work. Please help.
I have an Iphone 5c with ios 8.0.2
and Itunes version 12.0.1.26 on my desktop.

Hi - Try following the steps in this document.  If that doesn't resolve the problem, you'll need to contact support for the service options.
Hope that helps.
Say Thanks by clicking the Kudos thumbs up. Please mark the post that solves your problem as an Accepted Solution so other forum users can utilize the solution.
I am an HP employee.

Similar Messages

  • App won't update or load. How to fix without data loss?

    My favorite game, Infinity Blade, won't update. It started to update but the progress bar (that shows on top of the icon) never advanced (remained fully black inside). That happened probably at least a year ago and has stayed like that. When I updated to iOS 6 it stayed like that. I synced my phone to my Mac but that didn't fix it either.
    I would just delete the game then re-download, but I read that if I do that, I'll lose my saved games, because they're stored inside the app itself.
    So the question is: how can I fix this without losing my saved game?
    Further WHY does it store data INSIDE the app? That seems like the worst idea ever.

    Marc Wilson wrote:
    Do you REALLY think people want to listen to idiots whine about the disconnected data that's splattered around on the phone if your model was adopted?  There are already enough cluebies who can't be bothered to understand "Other".
    (1.) This thread is not about what "people want to listen to..."
    (2.) If you know anything about data, it does not "splatter".
    (3.) It's not "my model," it's the Macintosh way.
    Look man. If you don't like the Mac then you shouldn't even be here.
    It's quite simply put ridiculous for saved games to get deleted when the game itself gets deleted, without the user having any choice in the matter! Likewise if I wrote a future bestseller then deleted Pages because I wanted to switch to a competing word processor, and by deleting Pages it deleted my bestseller, I'd be royally ticked off, and rightfully so!
    My data and documents are MINE, not Apple's, not the app's. I should have the option, if I so choose, to decide roughly where to keep my own files, and also to decide when and if they get deleted, regardless of what apps I choose to have on my device at any given time.
    I find it to be an invasion of my privacy and an invasion of my intellectual property to have my saved data, which I created, deleted by the OS, ever, just because I want to delete the application that created those files. I believe that many files should adhere to standard file formats, such as audio files, text files, contacts, JPGs, etc. It should not matter which app created them, as to where they are stored. The system is quite capable of creating a hard-link to the file and storing THAT inside the application's sandboxed directory if it really wants to have a file path to the iNode. Time Machine already does this on the Mac. They could easily do it with iOS.
    But then, we both know there is no technical reason why they want to hide our documents from us and force us to delete them when we remove an app. There is no technical reason why we must be forced to go through the kludge-fest that is iTunes File Sharing in order to even access our documents. Ever hear of the FINDER? Go back 15 years and read reviews in Macworld. Any device that didn't give Finder-level access to the files on it was deemed as being "non-Mac-like." Guess what? The iOS is non-Mac-like in many bad ways.
    I'm all for the iOS-ization of the Mac when it comes to things like the gestures and notifications, etc. But ruining my Save and Save As? They went too far. They need to step back, and go add some Mac-like features back to the iOS. It's gotten too curmudgeonly and closed-in on itself. It's too proprietary, and too convolluted in some ways.
    A game takes up a lot of gigs. By removing a game for awhile I could save a lot of memory. If I'm stuck in a pinch and I want to delete it, but then I realize my game's saved data is on my device with no way to get it out of there (because perhaps I'm up in the mountains with no 'cloud' access, as I often am), then it's stupid to have to delete the game's data along with the game. I should be able to delete just the game, but keep the saved data.
    As for it being 'splattered' around, it would not be. What your'e describing is OS X's "Library" folder and how apps install crap into every corner of the universe. Trying to uninstall something like Pro Tools 10 or Adobe CS6 is like trying to remove blue from a Jackson Pollock. They need to have an easy way to remove apps on the Mac.
    But 'splattered' does not describe the limited number of documents I'd likely have on my iPhone, with or without their supporting apps. It would be simple to have a view (like the Finder!) where you can see your documents and files. It could keep them organized for you, unless you really insist on organizing them yourself -- and even then, it could just let you work with links to the files, ala iPhoto, and keep its directory structure intact secretly. Is it really that "annoying" to you to be able to see and manage your own files, if you want to? Really? You're joking me right?
    I'd be fine with it if they wanted to sandbox documents to where, in my documents folder, there'd be another folder where all my saved games for Infinity Blade are stored, and I can't move them around. But I should be able to create a backup copy of those and e-mail them to myself, if I feel like it.
    If people can't handle it, then just make an option to "manage all my documents for me" and have it be the default setting (like it already is). Make people type "I am not an idiot and I know how to use a computer" to access this folder. Whatever. I don't care. But I'm really sick and tired of my iOS device being crippled in the name of some hypothetical idiot who might whine. Puh-leeze.

  • How to fix calendar date inconsistency

    Hello,
    I have a problem with closing material period due to inconsistency with actual calendar date. Last closed period in material master of specific cc is 07.2009.(It is test system with IDES database). How to close remaining periods to 01.2012. I can not do it in mmpv.
    Regards
    Sylvester
    Moderator messaage: I cant see any proof for the calendar date inconsistency that you mentioned in the subject.
    It is the same question about month end closing which was answered many hundred times in this forum.,
    Please search the forum before asking the same questions again. Read the forum rules before posting.
    thread locked.
    Edited by: Jürgen L. on Jan 19, 2012 10:42 PM

    Hi, If it is IDES follow below step, but never try this in Production system,
    First check in OX06 & OBY6, "Fiscal Year Variant" is maintained as K4,
    Then Use T-code OX18, delete all the assignments of your company code & plant,
    Now use T-code OMSY enter the year & period (2012 & 01)
    Noe again Use T-code OX18, and again do the assignments of the company codes & all plants

  • How to fix "Config data is corrupt" when trying to download itunes?

    I'm trying to correct problem downloading itunes onto my pc.  I've already run registry cleaner and updated Windows drivers but
    still get message "The configuration date for this product is corrupt".  I've managed to sucessfully download Quicktime separately, but not
    itunes.  Any able to give me best fix solution?

    Not an answer to the server problem, but I have posted the PhoneGap Build process here: http://forums.adobe.com/message/4669054#4669054. It might help anyone still having problems.

  • How to fix this data binding bug?

    Hi All,
    I need a mutual-excluding component like ToggleButton behaves. There's a public property viewMode which indicates which button is selected. It works fine when I click other buttons. But when I click the selected button again, it seems the binding doesn't work.
    The project file is attached. Please help me to rectify this issue.
    Thanks and regards,

    Try setting toggle to false.  Data binding is doing the right thing, but because you have toggle set to true, the Button is toggling selected after data binding has done it's thing.  Try looking at Button.setSelected() to see what I'm talking about.

  • How to fix missing URI in synced albums with flickr & facebook

    A quarter of my flickr and facebook published albums have forgotten their URI to those web services.
    Which means they cannot check or sync with those services. Is there any way for them to find their web URIs again? Apparently some of the uploads didn't finish, so the albums on the web are missing photos and while iPhoto is happy to add and change photos in the local album, they've lost their sync URI, so they'll never change.
    You can see at a glance which albums have lost their URIs by switching Preferences->Web->"Check for new published photos" to "Manual". Then radio wave style sync buttons appear next to the healthy albums. Many of mine have no sync buttons.
    I'm gonna have to delete all these albums and republish them, won't I?
    iPhoto 09 - 8.1 (415)
    Mac OS X - (10.6.2)

    New versions of iPhoto seem to be more resistant to de-syncing. The problem has not occurred. There is still no way to manually resync albums, though.

  • Importing vinvl albums via garage band have to import tunes individually .tunes willnot recombine into one album. I understand that it is because data available on cd's is not present on vinyl..any clues on how to fix this?

    mac version 10.9.4.
    importing vinyl albums via garage  band. Have to import tunes individually as tunes will not retain individusl otherwise.  trouble is they will not rejoin as one album in iTunes.I understand it is because data available on cd's is not on vinyl imports . Any clues on how to fix this?

    "Have to import tunes individually as tunes will not retain individusl otherwise."  -- I don't understand this sentence.
    iTunes will not assign track names to items imported from vinyl.  You will have to label the files yourself in the Get Info window.  As long as you give all the tracks on an album the same album information and the same artist information they should group together.  if the artists differ then you need to give all the tracks one common album artist (often "Various Artists")in addition to individual track artist.

  • Hi I have been given a  two year old MacBook pro and have downloaded the latest up dates but safari will not open. Any suggestions how to fix this would be appreciatedpro.

    Hi
    I have been given a MacBook Pro and have downloaded all the recent updates.
    Safari will not open.
    Any suggestions on how to fix this problem would be appreciated
    Regards
    lb6301

    OK, the only thing that I can suggest at this point is to take the machine to your local Apple Store and have them download and install the latest version of Safari. It's likely something that they'll do for free if you get a nice Genius...
    I don't know what I was thinking about - finely figured out that you MUST have an iOS or other device!
    Sorry we couldn't solve the problem... hopefully, you've a nearby Apple Store? Or an AASP?
    Clinton

  • How Can I put an Artists Live Albums in a separate folder, so they sort by "Concert Date" in iTunes and do not "intermingle" so to speak with Studio Albums?  Is this possible?

    How Can I put an Artists Live Albums in a separate folder, so they sort by "Concert Date" in iTunes and do not "intermingle" so to speak with Studio Albums?  Is this possible?
    That is about the best way I can phrase my question.
    I put year/month/date at the beginning of a show, hoping for them to sort by date and I get mixed results.
    Would creating a Folder within the Artists' existing folder  that said "Pearl Jam Live", inside the "Pearl Jam" folder in iTunes Media help this "Date Sorting Issue"?
    Thank you.

    Or is there a way to go through aperture to make a new reference library that I can move the masters into later?
    you do not move the masters into a references library - you turn your current library into a referenced library.  As Terence Devlin said:
    File -> Relocate Masters
    What you should set up:
    Select a folder, where you want to store your referenced files - probably on an external drive.
    Decide on a hierarchical folder structure inside this folder - that is completely up to you.
    Select a project from your library and use the command "File -> Relocate Masters/Originals" to move the original image files to the folder where you want to go them to. Only take care not to send two projects to the same folder.
    Alternatively, if you do not care about the folder structure Aperture will use, select all images at once from the "Photos" view and let Aperture decide how to assing the folders - in the "Relocate Originals" dialoge you can specify a subfolder format.
    Regards
    Léonie

  • How to do a date validation with leap years

    I'm doing a date validation program in my Java class, and well it's pretty hard (for me that is). I have to be able to type in a date, have it say whether it's a leap year or not, and print out the number of days in the month. It seems pretty straight forward, but I get confused on trying to do the 'if else' statements and even the simplest things like getting the day prompting to work. >< The years I'm doing only goes through 1000 to 1999, so that's why those numbers are there. The program isn't complete, so if anyone could help show me what I'm doing wrong in the areas I'm working on then I'd appreciate it...and I'm still kind of in the basics of Java so if you do hint me with some code then I'd appreciate it if it was stuff that's not too advanced so yea.
    // Dates.java
    // Determine whether a 2nd-millenium date entered by the user
    // is valid
    import java.util.Scanner;
    public class Dates
    public static void main(String[] args)
    int month, day, year; //date read in from user
    int daysInMonth; //number of days in month read in
    boolean monthValid, yearValid, dayValid; //true if input from user is valid
    boolean leapYear; //true if user's year is a leap year
    Scanner scan = new Scanner(System.in);
    //Get integer month, day, and year from user
    System.out.print("Type in the month: " );
              month = scan.nextInt();
    System.out.print("Type in the day: " );
              day = scan.nextInt();
    System.out.print("Type in the year: " );
              year = scan.nextInt();
    //Check to see if month is valid
    if (month >= 1)
    month = month;
    else
    if (month <= 12)
    month = month;
    else;
    //Check to see if year is valid
    if (year >= 1000)
    year = year;
    else
    if (year <= 1999)
    year = year;
    else;
    //Determine whether it's a leap year
    //Determine number of days in month
    if (year == 1 || 3 || 5 || 7 || 8 || 10 || 12)
         System.out.println (Number of days in month is 31);
         else (year == 4 || 6 || 9 || 11)
         System.out.println (Number of days in month is 30);
    //User number of days in month to check to see if day is valid
    //Determine whether date is valid and print appropriate message
    // Dates.java
    // Determine whether a 2nd-millenium date entered by the user
    // is valid
    import java.util.Scanner;
    public class Dates
    public static void main(String[] args)
    int month, day, year; //date read in from user
    int daysInMonth; //number of days in month read in
    boolean monthValid, yearValid, dayValid; //true if input from user is valid
    boolean leapYear; //true if user's year is a leap year
    Scanner scan = new Scanner(System.in);
    //Get integer month, day, and year from user
    System.out.print("Type in the month: " );
              month = scan.nextInt();
    System.out.print("Type in the day: " );
              day = scan.nextInt();
    System.out.print("Type in the year: " );
              year = scan.nextInt();
    //Check to see if month is valid
    if (month >= 1)
    month = month;
    else
    if (month <= 12)
    month = month;
    else;
    //Check to see if year is valid
    if (year >= 1000)
    year = year;
    else
    if (year <= 1999)
    year = year;
    else;
    //Determine whether it's a leap year
    //Determine number of days in month
    if (year == 1 || 3 || 5 || 7 || 8 || 10 || 12)
         System.out.println (Number of days in month is 31);
         else (year == 4 || 6 || 9 || 11)
         System.out.println (Number of days in month is 30);
    //User number of days in month to check to see if day is valid
    //Determine whether date is valid and print appropriate message
    }

    Here are some helpfull hints for you:
    1. Your code is really hard to read, there are two main reasons for this. First, your indentation sucks. Second, you seem to be fascinated with saving two (ok four if you count the shift key) keypresses to avoid using { and }.
    2. Not using the brackets (you know { and } which you like to avoid) also is causing your code to do some stuff you don't realize or want to happen, or at least it would be if your code compiled.
    3. If statements require arguements, "year == 1" is an arguement, "3" is not an arguement. Each operator like the or operator ("||") is essentially a new if and requires a complete arguement. So the following code peice:
    if (year == 1 || 3 || 5 || 7 || 8 || 10 || 12)Literally translates to if year equals 1 or if 3 or if 5 or if 7 or if 8 or if 10 or if 12. Doesn't make much sense in english, and it doesn't make much sense in Java either.
    4. I am pretty sure "year" is not the variable you want in the code snippet above (the one used in hint 3), especially considering years 1, 3, 5, 7, 8, 10, and 12 are not between 1000 and 1999. You need to be really carefull not make these kind of mistakes when coding, because they are by far the hardest to track down and fix later since they don't really throw up any flags or anything at compile or run time. Take your time and think thuroughly about each line of code while coding it, it will save you tons of time in the long run.
    5. What exactly do you expect statements like "month = month;" to do? That translates as make month equal to month. Do you go to the bank and say " I have exactly $3.56 in my pocket, so I would like to deposite all $3.56 and then withdraw $3.56 and put it back in my pocket"? How do you think the teller would look at you? Teller would probably do it, but the teller would feel like he/she wasted time with you and that you are not really right in the head. Java feels the same way when you make it do the same thing, and you love to do it.
    6. Code like the following is all wrong, and for more reasons than pointed out in hint 5.
    if (month >= 1)
    month = month;
    else
    if (month <= 12)
    month = month;
    else;Let's say someone put 13 in as the month. It passes the first check because 13 is greater than or equal to 1. so month which is 13, now gets set to 13 (gee that was effective). Now we hit the else and things get confusing because you didn't use brackets or proper indentation (hint 1) so we don't know what your real intent was. Did you mean else do nothing, and the next if statement is then executed, or did you mean to just run the next if statement if the else condition was met? Fortunatly it doesn't matter here because the next if statement is failed anyways since 13 is not less than or equal to 12.
    So, we leave this code with month ebing 13, wait when did we add a 13th month to the calendar? Are you using the Jewish calendar? Could be, except even if I put 1234567 as the month your code would except it as valid, and I know no calendar with that many months. Try writing this in english first and translating it to jave, like i would probably say "if the month is greater than or equal to 1 and less than or equal to 12 then the month is valid." Course now what do you do if it is invalid? Hmm, maybe I would actually say "while the month is less than 1 or greater than 12 ask the user for the month" until they get it right.
    There are a few other problems, but most of them are probably things you haven't learned yet, and they are not show stoppers so we will let them fly. You already have a lot of work to do to make this better. But I do have one more really really big usefull hint for you:
    Never, ever, under any circumstances, should you ever ask in any way or even hint at asking for someone else to provide code solutions to your problems. So "so if you do hint me with some code then I'd appreciate it if it was stuff that's not too advanced " was a very bad thing to do, but fortunatly for you you followed it with proof you were trying to write the code yourself. Had the code you provided not been so full of problems it was obvious a beginner wrote it, you would probably have gotten much less cordial responses. I would seriously consider avoiding any implication of wanting code, at least until you become a regular poster here and people know you are not just looking to get your homework done for you.
    Hope some of this helps.
    JSG

  • My iPad seems to think today's date is 1st May. Any ideas how to fix it?

    MY iPad seems to think today's date is 1st May. Any ideas how to fix it?

    I think the clock no longer works.
    If you set the time and date to somewhere around 2001, or 2005...it will probably keep the setting just fine. But around 2010, it stopped working.
    Not broken, that is just the way it was made......many years ago!

  • How to fetch year till date value for earning for current ,last and year

    hi,
    how to fetch year till date value for earning for current ,last and year before that from payroll result
    plz reply soon,
    pratyush

    Dear Pratyush,
    Pick this from CRT.
    Use LDB PNPCE & Fire event GET PAYROLL &
    then you can pick from CRT.
    Hope this helps.
    Kindly reward in case useful.
    Regards & Thanks,
    Darshan Mulmule

  • I just got my dads old iPhone 4. I restored it to factory settings and set it up with my apple id. The albums in my music are fine in iTunes but on my phone the albums are split and each song is its own album. Does anybody know how to fix this?

    My dad has recently gotten a new phone and I got his old one. With his permission I restored it to factory settings and set up the iPhone 4 as a new phone with my apple id. Everything has downloaded fine but I have had many problems with my music. First it was where my phone didnt recognise my apple id, but I  figured that out. Then it was where iTunes took one of my albums and split it so all the songs where their own albums. I fixed the album split on iTunes but its still like that on my iPhone. I have looked online everywhere and I still haven't found a solution! I'm getting super frustrated! Does anybody know how to fix this?

    No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
    As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that.

  • How to calculate first date and end date of this year in Query

    Hi Expert
    I want to calculate following dates with inputted date in query.
    I have no knowledge on ABAP and I just can create a query with simple logic.
    Could you teach me how to calculate following date?
    (If inputted date is April 12 2009)
    - First date of this year (Ex January 1 2009)
    - End date  of this year (Ex December 31 2009)
    - First date of last year (Ex January 1 2008)
    - End date of last year  (Ex December 31 2008)
    - First date of this month (Ex April 1 2009)
    Thank you!
    Take

    HR_JP_MONTH_BEGIN_END_DATE   use this FM to get the begin and end date of the Date you are passing. eg when u give input as 04/12/2009, it will return
    04/01/2009 as begin date
    04/30/2009 as end date
    pass the Year in this FM HR_E_GET_FISC_YEAR_DATES, you will get the Fiscal year Begin and End Dates
    Abh

  • How to calculate totals based on year (date) and comparing othe columns in the same table please

    Hello Good Evening,
    Could you please help me here
    how to write condition for self table year records, such 2012 name and acctno match with 2013 name and acctno then total, provided below,
    create table #tab1 (MasterKey int, AcctNo varchar(12),name varchar(25), SumaofShares numeric, request_dat datetime )
    --drop table #tab1
    insert into #tab1 values (1000, 100,'Tom', 2500, '10/01/2012')
    insert into #tab1 values (1001, 101,'Bat', 1550, '08/11/2012')
    insert into #tab1 values (1002, 102,'Kit', 1600, '06/12/2012')
    insert into #tab1 values (1003, 103,'Vat', 1750, '04/15/2012')
    insert into #tab1 values (1010, 104,'Sim',200, '04/21/2013')
    insert into #tab1 values (1011, 105,'Tim',500, '06/18/2013')
    insert into #tab1 values (1012, 100,'Tom',800, '08/22/2013')
    insert into #tab1 values (1013, 101,'Bat',550, '09/15/2013')
    insert into #tab1 values (1014, 100,'Pet',200, '02/21/2013')
    insert into #tab1 values (1015, 103,'Vat',150, '03/18/2013')
    insert into #tab1 values (1016, 110,'Sun',800, '03/22/2013')
    insert into #tab1 values (1017, 111,'Bet',550, '12/15/2013')
    insert into #tab1 values (9999, 111,'AAA',110, '12/15/2014')
    create table #tab2 (IssueKey int, totalOutstanding numeric, sharedBenefits varchar(1) )
    --drop table #tab2
    insert into #tab1 values (1000, 500, 'V')
    insert into #tab1 values (1001, 150, 'U')
    insert into #tab1 values (1002, 100, 'N')
    insert into #tab1 values (1003, 170, 'U')
    insert into #tab1 values (1010, 100, 'U')
    insert into #tab1 values (1011, 200, 'K')
    insert into #tab1 values (1012, 340, 'U')
    insert into #tab1 values (1013, 560, 'N')
    insert into #tab1 values (1014, 280, 'V')
    insert into #tab1 values (1015, 150, 'V')
    insert into #tab1 values (1016, 840, 'V')
    insert into #tab1 values (1017, 530, 'N')
    i would like to get 4 columns output
    how to get sumofshares (#tab1) and TotalOutStanding(#tab2) summ up with these values please.,
    MasterKey (#tab1) and IssueKey (#tab2) are like primary key and foreign key
    so the request is
    need to calculate, sumofshares (#tab1) and TotalOutStanding(#tab2) as below
    1)ShareBenefist = U and year( request_dat) in (2012 , 2103) and (Name for 2012 should match with 2013 name and 2012 Acctno should match with 2013 accounno) in (#tab1)
    then '2012 and 2013 accts UN Veriverted'
    2)ShareBenefist = V and year( request_dat) in (2012 , 2103) and (Name for 2012 should match with 2013 name and 2012 Acctno should match with 2013 accounno) in (#tab1)
    then '2012 and 2013 accts Veriverted'
    3)ShareBenefist = N and year( request_dat) in (2012 , 2103) and (Name for 2012 should match with 2013 name and 2012 Acctno should match with 2013 accounno) in (#tab1)
    then '2012 and 2013 accts NONVERT'
    4)year( request_dat) =2102 and Name and Acctno not match with 2013 account name and acctno (#tab1)
    then '2012 last year accounts'
    5)year( request_dat) = 2013 and Name and Acctno not match with 2013 account name and acctno (#tab1)
    then '2012 This year accounts'
    for ex 1) the below accounts in #tab1 has both 2012 and 2013 and acctno same in both years and name is same in both years so it is condired as
    insert into #tab1 values (1012, 100,'Tom',800, '08/22/2013')
    for ex 2)
    insert into #tab1 values (1013, 101,'Bat',550, '09/15/2013')
    for ex 4) 2012 records there is not match acctno and name in 2013 recods
    insert into #tab1 values (1002, 102,'Kit', 1600, '06/12/2012')
    for ex 5) 2013 records there is no match of name and acct no with 2012 records
    insert into #tab1 values (1010, 104,'Sim',200, '04/21/2013')
    insert into #tab1 values (1014, 100,'Pet',200, '02/21/2013')
    insert into #tab1 values (1016, 110,'Sun',800, '03/22/2013')
    insert into #tab1 values (1017, 111,'Bet',550, '12/15/2013')
    Expected Results (just for format)
    AcctTypeDescription, SumofShares, OtotalutStand
    '2012 and 2013 accts UN Veriverted',2700,234
    '2012 and 2013 accts Veriverted' ,2890,234
    '2012 and 2013 accts NONVERT' ,4533,325
    '2012 last year accounts' ,2334,567
    '2012 This year accounts' ,2222,877
    Please
    Thank youy in advance
    asita

    As I understand it, your sample output was only to show the format, and did not pretend to be give the exact result given the sample data. This is pity, because means that I was not able to verify that my query below gives the desired result.
    The exact relation between #tab1 and #tab2 is not clear to me. I'm making the assumption that a row in #tab1 may have zero or one row in #tab2, but not many.
    My solution has two CTEs. The first simply joins the tables together and extracts the year. In the second CTE, I perform a self-join over the first CTE which I have divided in two by year. This is a full join, since an account may appear for only one of
    the year. Note that it is instrumental to extract the year data in inner queries first.
    The final query is just an aggregation over the categories.
    create table #tab1 (MasterKey int, AcctNo varchar(12),name varchar(25), SumaofShares numeric, request_dat datetime )
    --drop table #tab1
    insert into #tab1 values (1000, 100,'Tom', 2500, '10/01/2012')
    insert into #tab1 values (1001, 101,'Bat', 1550, '08/11/2012')
    insert into #tab1 values (1002, 102,'Kit', 1600, '06/12/2012')
    insert into #tab1 values (1003, 103,'Vat', 1750, '04/15/2012')
    insert into #tab1 values (1010, 104,'Sim',200, '04/21/2013')
    insert into #tab1 values (1011, 105,'Tim',500, '06/18/2013')
    insert into #tab1 values (1012, 100,'Tom',800, '08/22/2013')
    insert into #tab1 values (1013, 101,'Bat',550, '09/15/2013')
    insert into #tab1 values (1014, 100,'Pet',200, '02/21/2013')
    insert into #tab1 values (1015, 103,'Vat',150, '03/18/2013')
    insert into #tab1 values (1016, 110,'Sun',800, '03/22/2013')
    insert into #tab1 values (1017, 111,'Bet',550, '12/15/2013')
    insert into #tab1 values (9999, 111,'AAA',110, '12/15/2014')
    create table #tab2 (IssueKey int, totalOutstanding numeric, sharedBenefits varchar(1)  )
    --drop table #tab2
    insert into #tab2 values (1000,  500,  'V')
    insert into #tab2 values (1001,  150,  'U')
    insert into #tab2 values (1002,  100,  'N')
    insert into #tab2 values (1003,  170,  'U')
    insert into #tab2 values (1010,  100,  'U')
    insert into #tab2 values (1011,  200,  'K')
    insert into #tab2 values (1012,  340,  'U')
    insert into #tab2 values (1013,  560,  'N')
    insert into #tab2 values (1014,  280,  'V')
    insert into #tab2 values (1015,  150,  'V')
    insert into #tab2 values (1016,  840,  'V')
    insert into #tab2 values (1017,  530,  'N')
    go
    WITH joined AS (
      SELECT a.MasterKey, a.AcctNo, a.name, a.SumaofShares,
             year(a.request_dat) AS year, b.totalOutstanding, b.sharedBenefits
      FROM   #tab1 a
      LEFT   JOIN #tab2 b ON a.MasterKey = b.IssueKey
    ), categories (category, sumofshares, totaloutstanding) AS (
       SELECT CASE WHEN A.MasterKey IS NOT NULL AND
                        B.MasterKey IS NOT NULL
                        THEN '2012 and 2013 accts ' +
                             CASE B.sharedBenefits
                                WHEN 'U' THEN 'UN Veriverted'
                                WHEN 'V' THEN 'Veriverted'
                                WHEN 'N' THEN 'NONVERTED'
                                ELSE ''
                             END
                   WHEN A.MasterKey IS NOT NULL THEN '2012 last year accounts'
                   WHEN B.MasterKey IS NOT NULL THEN '2013 this year accounts'
              END,
              coalesce(A.SumaofShares, 0) + coalesce(B.SumaofShares, 0),
              coalesce(A.totalOutstanding, 0) + coalesce(B.totalOutstanding, 0)
       FROM   (SELECT * FROM joined WHERE year = 2012) AS A
       FULL   JOIN (SELECT * FROM joined WHERE year = 2013) AS B
             ON A.AcctNo = B.AcctNo
            AND A.name   = B.name
    SELECT category, SUM(sumofshares) AS sumofshares,
           SUM(totaloutstanding) AS totaloutstanding
    FROM   categories
    GROUP  BY category
    go
    drop table #tab1, #tab2
    Erland Sommarskog, SQL Server MVP, [email protected]

Maybe you are looking for

  • Sort order in list wrong: in CAML and in view

    Hello, When I order my list with document sets by ID, the order is wrong. It is wrong in the list and with caml. This is my view (I just set the sort on the ID column): The first 4 objects are created by the Client Object Model; the last 4 are create

  • OSX Lion ram usage

    Well, i've got my 13' Macbook Air today (4gb ram), and love it. The only thing that bothers me is the extremely high ram usage of Lion, when i turn the Macbook on it jumps to about 1.3gb ram usage which i find really much considering my PC running Wi

  • Delete Asset trans thru' t-code OABL

    Hi, We have deleted the data in asset module in our development client using the t-code OABL, before that we have 'reset company code' in asset module. After the successful deletion I noticed that there are still some entries in ANLC table and the st

  • Stolen MacBook Air

    My 13" Macbook Air, S.N. RM632234U9B, was stolen from my office in Glendale, CA over the Christmas Holidays. I reported it to both company security and the  Police. I had Find My iPhone on it, so I activated the lock code and set the erase function. 

  • Commenting multiple lines in formcalc/javascript

    Hi,   we use '//' for commenting a single line. How can we comment multiple lines at  a time? It will be a big pain to comment 15 lines in scripting code each line with a //. Can you tell me any short cut for this. Also, do we have any keyboard short