In SQL can I use varibale names for domain names.

I have a table named Aging with fields ITEM_CODE and jan, Feb, mar, Apr, may, June,... dec

When I type select ITEM_CODE, to_char (add_months(sysdate,-1), 'MY') as the aging m1
and the month of sysdate is July

I get

ITEM_CODE m1

ITEM001 JUN
ITEM002 JUN
ITEM003 JUN
N.... JUN


while I like to dsiplay jun field value in aging table

Can someone help me with the synatx I get to display the contents of the field, and not its name.

Thnak you

Sorry, I don't have a database at your fingertips. See the above edited post.

Concerning

Etbin

Tags: Database

Similar Questions

  • Can I use my iPhone for the load

    Can I use my iPhone for the load?

    Yes

  • Can I use iMovie trailer for publishing a Web site? I've included thanks to iMovie and iTunes in the credits.

    Can I use iMovie trailer for publishing a Web site? I've included thanks to iMovie and iTunes in the credits.

    I think that you will need official permission from both Apple and the owners of the trailer of the film.   You can not just simply print a receipt, just like that.   However, you can see, your site can be entirely flattering to the other two parties, they see things.

  • Can I use my name on the account and CC my wife to Fact?

    Can I use my name on the account and CC my wife to Fact?

    N ° your name must match the credit card used.

    Since you are using his credit card, why not to use his name?

  • can I use this connection for Adobe Document Cloud?

    Can I use this connection for Adobe Document Cloud? If so, how do I enter this login screen?

    Hello

    What login?

    If you want to access the clouds, consult the following URL https://cloud.acrobat.com

    and connect you with your saved credentials Adobe.

    Concerning

    Sukrit diallo

  • can I use personal edition for business (creative cloud)

    can I use personal edition for business (creative cloud)

    Yes.

  • How can I use a video for the preview looks like instead of the fixed image?

    How can I use a video for the preview looks like instead of the fixed image? I use android lollipop.

    Hi Ali,

    Video preview for looks is not currently supported on Android. Your feature request was noted by the team.

    In the meantime, there is a video on the device you want to use as an overview, I would recommend taking a perforated CAP and still image as loading preview.

    Best,

    Bronwyn

  • can I use licience even for my computer and a wacom tablet?

    can I use licience even for my computer and a wacom tablet?

    Nimet, if you talk about Adobe Creative Cloud, you can see point 1.1 from the link below:

    http://wwwimages.Adobe.com/content/dam/Adobe/en/legal/servicetou/Software_Terms-en_US-2015 0407_2200.pdf

  • I can't use my keyboard for a long time in CS4 - very strange

    I have 2 computers and when I try to use the keyboard for shortcuts on my second computer, some weird dialogue with Chinese characters appears shortly after I start using the keyboard and I can't use the keyboard for shortcuts after this point, never. I'm sure it's in CS4, because it doesn't happen at all in Windows.

    What the hell it is and how do I turn it off? :

    problem.jpg

    You have installed or activated an IME for an Asian language.

    Disable the IME and invites should disappear.

  • Examples of pl/sql code that can be used in training for new developers

    Hello

    I'm working on a training ride on the pl/sql to some developers who are totally new to PL/SQL. Although they are experienced in another language. I have power point on pl/sql presentations, but they especially the theory oriented with just a few examples. I'm looking for more help to have a few example pl/sql that can be given to interns as the code for example and also to practice. It should be a bit detailed and like to print the odd numbers or print "hellp world." Can anyone help to suggest if there is an example of code that is a bit detailed with a kind of complex problem which will give students a hands good example? I see a nice example at this link: http://tucano.tucanowebdesign.com/oracle/tutorial5.html - on an inventory system. It gives the feeling of being one on the issue of real-world work. So that if anyone knows of some other example say about 150 t0 300 lines or so of the code, I'll be grateful if it is shared.

    Thank you

    OrauserN

    That said, I feel again (my perception) that more code a person writing/comments the better he gets. So, I want students to examine several code examples. I guess I need to see some books to bring out some really long piece of PL/SQL - like case studies.

    . . .
    But these guys are too busy and so I try to find the net / books some really detailed examples.

    But you seem to be overlooking that PL/SQL is supposed to be used for: PL means "procedural language.

    So, PL/SQL must be used to 'procedure' treatment; This is typically several process steps. For example, when you want to run three applications as a "TRANSACTION". If all three completed successfully you COMMIT and if any of the three you don't ROLLBACK.

    You can do this by using SQL only. And a developer doesn't have to write the code until they have a technical requirements doc that explains what problem the code is supposed to solve and the constraints and requirements that the code must implement.

    So, my suggestion is the following:

    1. identify and teach the types of issues that PL/SQL is used to help solve. Multi-step transactions, I mentioned above is an example

    2. use the documentation and the code of your own organization in the form of samples. These 'guy' is perhaps too busy, but they should be able to provide to you all the documents for the code they wrote and that you use which would be good to use as examples. If they have no documents technical requirements so you just identify a MAJOR gap in the operations of your org that you must bring to the attention of management.

    3. you can provide value added a lot more if you use code from your own org as a basis for what you are doing. A very useful training exercise is to ask students to perform 'code review' of a code (a procedure or function) and write simple comments, one line that explain, in plain English, what makes each piece of code.

    4 comments, students create to step #3 can actually be incorporated into your code then existing so that future developers can use these comments to understand what the code actually does.

    5 part of your 'education' should be on the way to 'test' correctly a piece of code PL/SQL to make sure it is doing what it is supposed to do. Again, if your students actually your own org code allows to create tests, these tests can then be added as a result of 'test' for this application and that adds value. A lot of times those developers 'busy' will not create the actual test cases and that your students can help remedy that. In addition, it does no good to know how to write PL/SQL code if you don't know how to test properly.

  • Can I use separate iCloud for accts Windows on a pc win10 with two accounts?

    CCan I use iCloud separate for Windows accounts on a pc win10 with two accounts?

    You can, but it will be a bit heavy on your part, juggling two accounts, because you will have to a connection, and then connect to another, etc.

  • can I use a monitor for my 27 imac stand

    I would like if posible to use a monitor for my 27 imac stand, I'm not sure it would work, but maybe there is a way to do this, you would appreciate any input

    Thank you

    John

    Yes, it can work according to what you need to do.

  • Can I use the drivers for model Satellite A100-012 to the model A100-599?

    Hello. I wanted to know that the drivers of the model a100 012 can be used to model a100 599?

    Configuration for both models is the same.

    Hello

    I compared these two units, and it seems that the A100-012 is a part of the PSAA9E series and the A100-599 belongs to the PSAARE series.
    So generally, these are two different notebooks and I m do not know if the drivers work.
    But who knows sometimes laptops are delivered with the same hardware and maybe you are a lucky man and some unique drivers will run

  • Can I use a bestbuy for my Pavilion dv5t-1000 hard drive?

    Hard drive on my Pavilion dv5t-1000 is a failure.  Do I have to use a replacement drive hp because of a partition that hp adds to their hard drives for recovery?  Can I use my HP recovery disks and backup of recovery on a hard drive purchased in-store?  Is no longer under warranty.

    Hello:

    You should be able to do it without problem.

    Make sure that the drive you buy is the same specifications (SATA II, 2.5 ") and size in GB (or larger) then the original one.

    Paul

  • Can I use 19.5V for 3050tx dv6 power adapter

    I have a HP Pavilion dv6 3050tx. The adapter is shock. I bought a new. But the characteristics do not match

    Specifications for the old AC adapter:

    Part number: 519331-002

    Replace with Hp Spare: 463958-001
    Input: 100-240 v - 2A 50-60 Hz

    Release: 18.5V - 6.5 A (120W)

    Specifications for the new AC adapter:

    Input: 100-240V - 50-60 Hz 1. 5A

    Released: 19.5V - 3.34 A-(65W)

    Can I use this charger

    Plese suggest me

    Thanks in advance

    NO.

    Bad voltage
    Low amperage
    Low-power

    You may damage the unit and/or portable.

    Will not to repeat for your other post, you can copy paste it youeself

Maybe you are looking for

  • I can't buy Final cut pro

    my name is 'MooThaw' and today I went to buy 6 $ 50 iTunes card and I plan to buy a "Final Cut Pro", but I can not buy it and I really need help because I never bought expensive like this before and I thought it was in the app store and in my opinion

  • R5 - 471 T SSD upgrade

    I googled and checked crucial crucial on this laptop but shows a standard ssd, but according to my device manager, it has a Liteon m2.  I'm curious, but what is a 256 full or maybe 2 of 128?  Also it can be improved for a more rapid Evo 850 m2?  Anot

  • micro sd card adapter does not work

    With my phone, I got a mini card I put in an adapter card to get my photo... put it in my computer and it doesn't work anymore... He did before a few times and it worked

  • Try to upgrade to SP3 SP 2 happens with c:\windows\system32\ntdll.dll

    original title; Try to upgrade to SP3 SP 2 happens with c:\windows\system32\ntdll.dll I closed all programs including Avast and always happens with this note. What can I do else? Install Windows XP on the partition, BootCamp by Apple. Initial install

  • Windows xp pro and it picture 99

    All of a sudden I can't open the .jpg image files in picture it 99 on my laptop or desktop.  Mix opens.  Windows image viewer works very well. ???????????????