How can I update the column 1st day of each month

Hello
I have an Emp table with the following columns
1.Emp_name varchar2(50),
2.Days number(3).
now it has the following features,
Emp_name              Days
Mishra                     11
David                      15
Raju                       18
Now I need to update the column 'Days' 20 for emp_name all whenever the date is the first day of the month
IE June 1, 2012 July 1, 2012 and so on.
How can we do?
can someone help me.
Thank you.

Look for the DBMS_SCHEDULER package.

Kind regards

Tags: Database

Similar Questions

  • How can I update the columns in a form that is already created

    Hi all

    I'm all new to APEX and I have this problem. I created a table with columns x and designed a form compared to the apex.
    I had to add more than two columns in my table, but the shape of the apex misses these 2 new columns.how I refresh my form so that these two new columns appread.

    Thank you

    Hello

    You must manually create these new column as new field like textbox, checkbox... within the form you want to display.

    don't forget not to set the sOURCE of the field with the databasecolumn with the name of the table column that you created recently.

    just open existing a whole field of the form, and then view the source... Follow it to the same thing to your new domain. then your data will be stored and displayed when the form runs,

    Please let me know if you get this point are you need more steps to do...

    Thank you
    Mark
    WebSoft solution
    http://go-WebSoft.com

    Published by: Websoft on September 9, 2009 03:53

  • How can I update the column based date?

    Hello..

    first I want to thank everyone for the help that you are given...

    I have a table that looks like this:

    the air course date

    ----------------------------------------------------

    X 0 NOV2013

    Y 900 OCT2013

    Z 800 OCT2013

    X 700 OCT2013

    Y 500 NOV2013

    X 100 NOV2011

    X 200 NOV2012

    ---------------------------------------

    I need a SQL expression for this

    ---------------------------------------

    If the price is 0

    then select the average price for the same air, and the same month but different year

    ------------------------------------

    for example in the table...

    When noncompliance X is 0 to DATE price NOV2013

    THEN select the average price for product X in NOV2012 NOV2011 AND

    THAT will be (100 200) = 100

    --------------------------------------------

    Naïve...

    Hello

    This?

    Note: I pushed since your unique records PROD, D

    SQL > select * from t1;

    D PRICE OF PROD

    ---- ---------- -----------

    X 0 01.11.2013

    Y 900 01.10.2013

    Z 800 01.10.2013

    X 700 01.10.2013

    Y 500 01.11.2013

    X 100 01.11.2011

    X 200 01.11.2012

    7 selected lines

    SQL >

    SQL > select q1.prod, q1.price, q1.d, avg (q2.price) avg_price

    2 from t1 t1

    3 join left t1 t2

    4 on q2.prod = q1.prod

    5 and trunc (q2.d, 'yyyy')! = trunc (q1.d, 'yyyy')

    6 and to_char (q2.d, 'mm') = to_char (q1.d, 'mm')

    Group 7 by q1.prod, q1.price, q1.d

    8.

    PROD AVG_PRICE D PRICE

    ---- ---------- ----------- ----------

    X 700 01.10.2013

    200 X 01.11.2012 50

    X 0 01.11.2013 150

    Z 800 01.10.2013

    Y 900 01.10.2013

    Y 500 01.11.2013

    X 100 01.11.2011 100

    7 selected lines

    SQL >

    SQL >

    SQL >

    SQL > fusion in t1

    2. using (select q1.prod, q1.price, q1.d, avg (q2.price) avg_price

    3 T1 t1

    4 join left t1 t2

    5 on q2.prod = q1.prod

    6 and trunc (q2.d, "yyyy")! = trunc (q1.d, "yyyy")

    7 and to_char (q2.d, 'mm') = to_char (q1.d, 'mm')

    q 8 group of q1.prod, q1.price, q1.d)

    9 on (q.prod = t1.prod and t1.d = q. at)

    10 when matched then

    11 update set t1.price = q.avg_price where t1.price = 0

    12.

    1 row merged

    SQL >

    SQL >

    SQL > select * from t1;

    D PRICE OF PROD

    ---- ---------- -----------

    X 150 01.11.2013

    Y 900 01.10.2013

    Z 800 01.10.2013

    X 700 01.10.2013

    Y 500 01.11.2013

    X 100 01.11.2011

    X 200 01.11.2012

    7 selected lines

    SQL >

    ----

    Ramin Hashimzade

  • Satellite L300D - 24 d how can I update the graphics driver?

    Hello

    How can I update the driver for my ATI Radeon 3100 graphics card. (Win Vista 32 bit)
    I download and installed the new ATI Catalyst worms. 10.12.

    If I change my graphics card options, there is always the old driver installed... Worms. 22.04.08 8.479.0.0
    Also, it is not possible to change the settings for graphic resolution higher than 1280 X 800 Pix.

    Thanks for the help,

    Fun1975

    First, you must use the page to Toshiba display driver.
    The use of other drivers can lead to highest GPU temperature and cause overheating.

    But if you want to use other drivers, you can do so at you own risk.
    In order to install another driver, go to Device Manager, mark the graphics card, then press on uninstall button.
    Then the driver should be uninstalled.

    After you restart the laptop, you can try to install the new version.

    > It is also not possible to change the settings for graphic resolution higher than 1280 X 800 Pix.
    The internal screen for laptop supports 1280 x 800 high resolution. It is not possible to choose a higher value.

  • I had to change my Apple ID because of accusations of fraud but my iPhone 6s 9.2 still has the old Apple ID and will not accept old or new passwords. How can I update the iPhone with the new Apple ID 9.2 6s?

    I had to change my Apple ID due to fraudulent charges but my iPhone 6s 9.2 still has the old Apple ID and will not accept old or new passwords. How can I update the iPhone 6s 9.2 with the new Apple ID and password? I tried to perform a complete reset, but which requires the Apple ID and password that doesn't work not... pretty frustrated here.

    YYou have unlink the old iphone you as find my iphone the reset all devices on this subject from your account then plug it to your iTunes then restore a new one after that reset password that under the new phone then connect

  • I managed to see the profile of the artist in Apple's music. How can I update the profile picture?

    I managed to see the profile of the artist in Apple's music. How can I update the profile picture?

    This is a user forum. No Apple itself is allowed to answer your questions here.

    You are probably better contact Apple Support directly to get an answer to your question.

  • How can I update the gps of streets & trips

    How can I update the gps of streets & trips (not sure which version)

    Hi CP agent v-2jeen

     

    Because the question is specific to the streets and trips you contact that it can support the assistance team. I would recommend posting your query to the community of Microsoft streets & trips. Please visit the links below to find a community that will support what ask you in the right direction.

    http://social.Microsoft.com/forums/en-us/streetsandtrips/threads

    You can also check out below help links-
    http://support.Microsoft.com/ph/1058#TAB0
    http://www.Microsoft.com/streets/en-us/support-and-training.aspx

    I hope this helps.

  • How can I update the expiration date on my credit card account?

    How can I update the expiration date on my credit card account?

    How can I update the expiration date on my credit card account?

    Go to your Bank and get a new card.

  • I'm not having implemented the cd with me. How can I update the window components. by mistake I uninstalled the

    I'm not having implemented the cd with me. How can I update the window components. by mistake I uninstalled the

    Reinstall windows components, you've accidentally deleted when you have the game CD with you.

  • URGENT! How can I update the build on BB store

    Hi all..

    I want to update the build on BB store. Please help me how can I update the build on bb store after the download of version 1.

    Now, I need to download version 2.

    Thank you

    After signing, choose manage products, then in the line that corresponds to the product that you're gong to update, you should find an icon "+" under the heading of press.  A click on it.

    I don't remember having a problem, this the first time, so I suspect it's pretty much follow your nose after that.

    It is also available help documentation:

    http://developer.BlackBerry.com/DevZone/blackberryworld/adding_and_apps_and_releases_in_blackberry_w...

  • How can I update the BIOS on my Sony Vaio laptop using disc or usb? Note: I can't windows at all.

    Hi, I want to know how can I update the current bios on my sony laptop using the disc or usb.

    I can't access the windows on the laptop at all, because I'm getting STOP: 0 x 00000 "a5 error that says: your bios is not fully compatible with acpi.»
    This error prevents me to access any live disc or recovery disks.
    I would like to learn more about records tho method.
    Thank you.

    Take it to a repair shop, you have damaged the card mother/connections

  • How can I update the rubrics with WebServices?

    How can I update the rubrics with WebServices?

    /Anyone/ has some success with this?

    It becomes important to our business objectives in order to solve the problems within the control elements.

    I can't enter the number of line by line in order to uniquely identify it. How can I get that number, so I can send it with xml "update"?

    A little nudge in the right direction would be much appreciated.

    Aaron.

    You must use a field on the form as the one on the line items, NOT the line number that appears in the journal of the line item. If I understand correctly, the LineItemIdentifier can be any field on the form, even the short description. It is best if you know you will use web services to update the line items, you add a (potentially hidden) field to the form and fill that with unique values when positions are created. If you are working with existing elements of line, then you must choose a field that will be usually unique within a single record and hope, you don't have a lot of duplicates.

  • Exporting DNG from Lightroom, but the thumbnail in os x Finder still shows the unmodified image. How can I update the thumbnail?

    I export a DNG from Lightroom on my iMac (OSx 10.11.2) but the thumbnail in os x Finder still shows the unmodified image. How can I update the thumbnail?

    Export to DNG will always export a unretouched photo non-modified. Your changes are in the XMP of DNG file as text, and most of the viewers of DNG files cannot interpret or use this text. So, it seems that when you export photos in DNG, Lightroom has done what it is supposed to do.

  • vCenter Server is a virtual machine, how can I update the host

    I have 2 guests in our environment, I have updated the host of the 2nd, but may not know how to upgrade the 1 host because vcenter server runs as a virtual machine on it. This has me thinking that I don't have the installation program as best as possible.

    Basically, we have 2 Guest boxes and a small box of DC. I don't really want to run vcenter on the dc area. What would be the best soltuong for our environment? Can I keep vcenter as a virtual machine? If Yes, how can I update the host it will run on?

    Thanks in advance everyone... Chris

    I was afraid of that say you that

    Well in this case you may need to update the host manually (see for example http://communities.vmware.com/people/vmroyale/blog/2011/09/15/updating-esxi-5--single-use-esxcli-how-to) even with the need to manually update the host on which vCenter Server is running, I would always run as a virtual machine. There is usually not that many updates.

    André

    Post edited by: a.p..

  • How can I update the patch of dps to my Adobe CS6 class

    How can I update the patch of dps to my Adobe CS6 class

    http://helpx.Adobe.com/Digital-Publishing-Suite/help/installing-digital-publishing-tools.h tml

    Neil

Maybe you are looking for

  • Why Thunderbird does not immediately

    Frequently, Thunderbird does not immediately and displays diagnostic tests, "Thunderbird on the response." It then displays the symbol of waiting (error in circle). He doesn't, but sometimes this happens with each key stroke. I'm about to give up Thu

  • I forgot security questions

    Hello I want to pay some app from the App Store, but I forgot security questions. Please help me how to change or reset the security questions please

  • WIFI doesn't work don't not on Satellite Pro A100

    Initially I thought it was a driver problem. WLAN switch is active, and I get no WLAN. Worse than that, it seems there is no hardware detected.The Panel, I took off and the jury is there, and I reinstalled it. Any other ideas?

  • Add Remove Programs screw up

    I am trying to go to add remove programs. I get a message saying: there has been limited, check with your administrator. I am the administrator and I have no idea of what is happening. I'm no computer expert and would appreciate any help you could gi

  • HP Pavilion 15 laptop does not properly turned off

    Hi everyone, I am faced with a wireframe, annoying problem with my less than a month old HP Pavilion Notebook 15-p029tx. Sometimes, after pressing 'Shut Down', within the screen 2 seconds turns black, but the laptop would not extinguish itself, i.e.