How to start afresh every quater?

I have only been working on databases for 3 weeks so forgive me if this is a stupid question but is there an easy way for the system to start a new table every quarter?
I have a table with people's names and the hours they work in a specific quarter. once the quarter is complete is there a way to archive that and start a new table with the same names in but no hours ready for the admin team to start again? and then in the future be able to review the past quarters?
Or is there a different/standard way of doing this?
Thanks
LT

LT,
One way to do this is to create a child table to contain the summary of the hours for each quarter per person. The primary key on this child table will be the primary key of the current table along with the year/quarter. Then create a foreign key constraint on the child table that points to the current table using the primary key of the current table.
You will then need to create a procedure that runs at the end of each quarter which inserts records into the child table from the parent table and zeros the hours field in the current table.
Hopes this helps but let me know if you need more info.
Regards
Bryan

Similar Messages

  • How could force tomcat to stop and start on every build on Ide?

    How could force tomcat to stop and start on every build on Ide?

    Hello,
    See this help article:
    *[https://support.mozilla.org/en-US/kb/How%20to%20set%20the%20home%20page How to set the home page]
    Or try go to about:config page, search for "browser.startup.homepage" change its value to "about:home"(default) or "about:blank"(blank page)
    *[http://kb.mozillazine.org/About:config about:config]

  • How can i read every"number" value and not only the 1st?

    in the vi only the first "number" value(from the data acquisition)is read in the small loop.how can i make every value to be read?every value must be compared with the "numeric" constant,and,if greater the led must turn on.afterwards,when a value which is less than the "numeric" is found the led must turn off.please answer or send mail to [email protected]
    Attachments:
    oximet5.vi ‏152 KB

    The more I look at your program, the less I understand it.
    Why are you setting number = number in a case if SO2 = ""? number always equals number.
    In your sequence frames 1 and 4, you have no control over which write (date or time) happens first. Just placing one function to the left of another doesn't make it happen first if your wiring doesn't create data dependency. Review the section on Data Dependency in chapter 5 of the LabView User's Manual.
    It looks you're writing to and reading from the same file using Write File and Read Lines from File.vi. Why read back data you just wrote? You have the data on your diagram. If you want to convert it from string to numeric, use a Sring/Number Conversion function from the String palette.
    On Read Lines from File.vi (which I'm not sure you even need), you should use a shift register for the start of read offset rather than a local variable for mark after read (chars.). With a shift register, you can initialize it to 0 when the VI starts. Using a local, if you restart the VI, it will try to startup from where you left off the last time, but you just opened the file for create or replace.
    In your sequence frames 2 and 3, why do you wait for the number to be less than the numeric before writing a carriage return to the file? Also, LabView has a End of Line constant which adapts to the expected value for the operating system. That's generally more flexible than a Carriage Return.
    It looks to me like you're overusing control refnums. You don't need to use a control refnum and a property node to set or read a control's value if you can wire directly to the control's terminal.
    I really don't understand what you're doing with pause and variants. I may be missing the point, but it looks like you made this much more complicated than it needs to be. Why not keep it a boolean?
    For your pause-path, you open the file but never close it. You can lose data that way. You also open it using open function 3, create new file. You'll get an error if the file already exists.
    On a general note, your diagram would be easier to read if you were more selective in how you routed your wires: you have wires on top of wires, wires running under sub-VIs, wires running in the frame of a while loop, wires running under labels.
    I think there's a temptation to overuse sequences. I don't think you need one here. As I mentioned in my earlier message, case structures and shift registers will be more useful to you.

  • How to start and stop a queue in ECC??

    Dear all,
    I have a problem regarding the Start and Stop of queues in ECC. Whenever I change the data in ECC (for example extension of a material to a new distribution chain, or Creating a quotation which has to trigger a corresponding quotation in CRM), replication is not happening to CRM. On analysis of the outbound queue in ECC, we are finding corresponding ernties for the material / quotation. On dbl cliking an entry, we are able to see the queue in STOP status. When tried to reset status and activate, system throws a message saying GENERIC STOP SET.
    1) How to overcome this problem?
    2) How to START or STOP a queue (for Eg: R3AD*) in ECC? 
    Please respond.
    Every point you share will fetch so many points / lot many smiles to you (No surprises.. I am plagerizing the famous quote on SDN)
    Regards,
    Rajesh

    Dear Chandra,
    Thanks for ur quick response. I have awarded you a sixer. Ofcourse, the content is much richer than that. But if i award 10, thread has to be closed. So that stopped me from awarding that
    Dear all,
    Can someone else share their views?
    Regards,
    Rajesh

  • How to start a new career in SAP - SD as a Fresher?

    Dear All,
    I am on the way to enter in the new world - SAP as a fresher.
    Seems to be positive and hopes on own capabilities.
    Willing to learn and go for Sales & Distribution (SD) Module as per my experience and domain knowledge.
    Please input your expert comments and opinion as per your master knowledge.
    How to start Online Training for 3 months?
    How much time to give Theoretical and Practical knowledge?
    Where & Which department need some personal attention
    How to go for Certification and prior practices?
    How to crack the Interview?
    How to find placement for SD on our own shoulder?
    Is there any opportunity for fresher at abroad? Where?
    As fresher what would be the CTC?
    Dear All,
    Waiting for your expert comments..
    Thanks & Regards,
    Tulsidas Ankam

    Hi,
    Here's an SCN tip for you: if you post multiple questions on the same topic and get detailed answers, then you should mark the questions answered and award some points (where merited).
    Otherwise - eventually - no one will respond!
    Anyway, onto your question. I personally think the best avenue of attack is to:
    - join an organization that is already running SAP, even if it is in some junior position
    - make it clear that you are very interested in SAP SD and are willing to do all the training etc yourself
    - grab every opportunity you can to learn SAP SD on-the-job
    There is little point getting certified if you have no experience. I don't think it improves your chances of getting a job (and it can be quite expensive).
    Anyway, just my opinion! Good luck.
    cheers
    Paul

  • How to start WebDynpro - Feeling down and lost

    Hi guys,
    I started working with webdynpro based on ABAP. Its definately nice and I appreciate SAPs tutorials. But they are just the basics and a lot of things are not described.
    How can I create a good tree model? SAP online docu has nothing about it. The How-To paper is just for Java.
    How to create a ALV with the possibility to enter data? How to assign the header texts of columns dynamically?
    Ok, there are examples in SE80. But there is always one mega application handling every single UI component that exists. And then the examples cover so many topics at once that its nearly impossible to really understand a single detail.
    These are the questions and topics I have. Having a couple of years experience with ABAP I am used to the fact that online documentation is more or less useless. I think you agree with me that it might also be a benefit to go through a new development topv the hard way and just try and try and try... Thats what we all are used to and thats why we are as good as we currently are.
    But honestly, most of the documentation SAP provides is for me at least useless. I would spend much more time and money and help on those guys who write the How-To papers because they do a tremendous good job.
    But how did you guys started with WebDynpro? How did you e.g. managed to create your first tree (dynamic etc.). I still wonder where to create the tree-structure in my program and have no clue what the "context" attribute is used for. Somewhere I have to create the hierachy, assign icons etc. like in the old Dynpro-Tree approach.
    What do you think? Have I just not found all the documentation I search for? Do I simply have to spend as much time to understand how tree, ALV etc. works in detail like I did some years before in the old dynpro-world?
    Regards, Hendrik

    Hi Hendrik.
    I agree with you that reading the online documentation sometimes let more questions come up than it solves.
    You asked how we started with WebDynpro. So I just used the book WebDynpro
    for Abap of Ulli Hoffmann which is a good entry to get the basic ideas.
    Asking questions here helps a lot too.
    But my basic approach was the good old try and error method. But I bet there are
    still a lot of things that are possible with WD4A I do not event know abaout.
    So as Mohammed mentioned  just post your questions and a lot of people here
    will surely try to help you.
    PS: You also should have a look at the <a href="https://wiki.sdn.sap.com/wiki/display/WDABAP">WIKI</a>. Though it is still in the beginning it might worth a look.
    <b>Appeal to all</b>: If you find the time pls submit to the WIKI. There are still a lot of open points. If you find repeating questions here please find a place in the WIKI were you could write a short tutorial how to solve it.
    Cheers,
    Sascha
    Message was edited by:
            Sascha Dingeldey

  • How to start a workflow by an event

    Did somebody know how to start an OWB workflow after an event occur ?
    In my application, the OWB workflow must start (and import data) after a record is insert in one of my application database table. Actually, I schedule a job to look in that table every single minute. The problem is that every minute, a connection is open and close on the application database. Also, the user have to wait for one minute (at most) before is job begin to be process. Can someone have a way to start OWB on event by using trigger, queue or something else ?
    Thank you,
    MB

    owf(your_OWF).wf_engine.LaunchProcess(item_type, item_key, process_name);
    If your process is defined as:
    Module: PRC_MODULE
    Process_flow_package: PRC_PACK
    Process_name: PROCESS
    then ITEM_TYPE is PRC_PACK,
    ITEM_KEY can be anything, like p_process_name||'_'|| SYSDATE to make sure it does not get doubled,
    and process_name is PROCESS.
    So when you call this function it would look like this:
    owf(your_OWF).wf_engine.LaunchProcess('PRC_PACK', 'PROCESS_24072009120000', 'PROCESS');

  • How to start Oracle Enterprise manager

    Hi,
    I installed the Oracle 10g, but I cann't start OEM. How to start OEM?

    I have similar problems. I have removed and installed Oracle twice to see if that would help. Every time I am able to actually start OEM, but when I reboot the PC it stops functioning. The two first times OEM was to be found at http://PJMOBILE:5500/em/ and the third time at http://localhost:5500/em/. I wonder why its different.
    So I read the previous notes on this issue with great interst. I tried the different advises but with out success.
    When I typed "emctl" I got the message "EM Configuration issue. C:\oracle\product\10.1.0\Db_1/PJMOBILE_global not found."
    WHen I types "emctl start dbconsole" I got the message "OC4J Configuration issue. C:\oracle\product\10.1.0\Db_1/oc4j/j2ee/OC4J_DBConsole_PJMOBILE_global not found."
    In both cases it looks for files in a path name based on my computer name PJMOBILE as opposed to based on "localhost". These directoriues are not there but their localhost counterparts are.
    So it seems to me that rebooting my machine has caused some environment variable to be erased.
    I hope this adds to the analysis of matters.
    Best regards
    /poul-jørgen

  • How to re-install every thing fresh on Nokia E5-00

     How to re install every thing fresh on Nokia E5-00, as ovi too is not giving any option to re install  Operating system

    I'm not sure if I am reading you correctly but am I right in thinking that you want to wipe your phone clean and start from scratch? If so then just hard reset yor phone using the *#7370# code. The default lock code is 12345. Be sure to backup your data first because all your data may be wiped.
    You can then proceed to reinstall all your apps.

  • Volume auto-lowering at the start of every track

    Yes, as the title of this post suggests, the volume auto-lowering at the start of every track.
    I play tracks at random out of my collection of over 4000 tunes. They all have different setting for equaliser, volume, etc. but that should make every track auto-adjust its volume down.
    What happens is this:
    A new track start playing. Within about 1-2 seconds iTunes adjusts the volume down. It is very audible and...very annoying.
    I don't particularly care why this is happening. I just want to know how to stop it.

    "that should make every track auto-adjust its volume down"
    SHOULD READ
    "that should not make every track auto-adjust its volume down"

  • Itunes starts Aperture every time I plug in a device. can I stop it?

    I understand it is just trying to download pictures... but I don't want it to download until I'm ready (or willing).
    How do I stop it from starting Aperture every time I sync my phone?
    Thanks.

    Okay! Browsing here has answered my question. Thanks to all.
    For the record you need to start Image Capture (in applications directory) and Aperture. In both you need to go to preferences and set the "when connected start this" setting to " no application".
    Problem solved.

  • How to start Xsun without mouse and keyboard?

    I'm trying to run a second Xserver on a solaris 8 machine, but when I start Xsun I always get "failed to initialize core device".
    I've tried plugging in a USB mouse and use kmdconfig to setup OWconfig, but this did not work. I've also tried to fool Xsun by telling it to use a serial mouse and then softlink /dev/tty03 to a console/stdout but this causes Xsun to hang after starting. I can see the second display go dark and then nothing happens. If I do a ctrl^c I will get "failed to initialize core device" printed.
    Has anyone here done something similar?? Please share your stories/solutions..
    Thanks

    I don't know if this is related to your case, but Xsun will not start on a headless server since there's no video device attached.
    Maybe this can shed some light:
    Enable X Server on Headless System
    On headless systems, The Xsun(1) X server does not run by default because it
    cannot find any graphics devices. In such cases, the Xvfb(1) X server can be
    run instead. Selecting which X server to run entails modifying options for
    Xserver(1).
    This article explains how to enable a service running the Xvfb(1) X server via
    SMF on a headless system so that Xvfb(1) is always started upon reboot.
    Document Body:
    Usually, Xsun(1) is launched by dtlogin(1X). As there are no graphics devices
    on headless systems, dtlogin(1X) cannot launch Xsun(1) by default.
    However, by enabling the "svc:/application/x11/x11-server" service or its
    instance via SMF and setting it to run Xvfb(1) instead, a X server can be
    started for every system reboot.
    Below are two example procedures that enable an instance of the
    "svc:/application/x11/x11-server" service. You can choose either procedures.
    - Non-Interactive Setup -
    1. Create an instance for the "svc:/application/x11/x11-server" service.
    # svccfg -s svc:/application/x11/x11-server add Xvfb
    2. Add property group for "options".
    # svccfg -s svc:/application/x11/x11-server:Xvfb addpg options
    application
    3. Set the "options/server" property to run Xvfb(1).
    # svccfg -s svc:/application/x11/x11-server:Xvfb setprop
    options/server=astring: "/usr/openwin/bin/Xvfb"
    4. Set the "options/server_args" property to control access restrictions.
    This is optional.
    If you would like to disable access control restrictions (i.e. "xhost +"),
    you can specify the "-ac" option.
    # svccfg -s svc:/application/x11/x11-server:Xvfb setprop
    options/server_args=astring: "-ac"
    If you would like to enable access control restrictions (i.e. "xhost
    +<host_or_user_name>"), you do not need to specify any options. Clients (i.e.
    host or user) can run "xhost +<host_or_user_name>" to modify access control
    restrictions. Please refer to InfoDoc# 77005 for more details on how to use
    remote Xvfb(1) server.
    5. Enable the "svc:/application/x11/x11-server:Xvfb" instance.
    # svcadm enable svc:/application/x11/x11-server:Xvfb
    Regards,
    M

  • Starting Afresh

    Hi,
    Happy New Year to you all
    So ive decided i want to start afresh with my ibook ive noticed it slowing down alot, i use onyx and mac janitor and repair permissions regularly so i think its not on the maintenance side,
    on the hard drive space side its a 60gb with 50gb free so its not crammed either, and i have 768 ram
    the issues that have brought it to my attention have been, i have two friends with ibooks and we decided to play command and conquer together they have a 14" with 512 ram and a slower 12" with 256 ram both machines always load up faster than mine and in comparrision checks on different programmes they load faster ie ms word, garageband and anything else really, also im noticing a spinning ball more frequently. in general the computer just feels alot more sluggish if you get my drift.
    Does anyone know why this is?
    Secondly if i wanted to do a complete clean reinstall how would i do this i presume i move all of the files i want to keep to my external but then what?
    Thank you for your time and patience,
    All the best,
    Alan

    Yes its always a good idea to backup your data on another hard drive. Then I would suggest doing an archive install from your original ibook install disc. That way it will keep all your apps and user files and just do a fresh install of OSX. That said, if you can do a total backup on another drive, doing a full sweep of the entire drive cannot hurt either. If you want to do that latter, put in the OSX install disk, choose to erase and install.

  • How to start a SAP training institute?

    Hello every one,
    Thanks for reading this email. I have a couple of questions. It would be great if you can help me out by answering these.
    1. How to start a SAP training institute?
    2. What would be the cost of the SAP software ,that one needs to buy for training ?
    3. Should we contact SAP to get permisson to conduct SAP training ?
    Thanks in advance.
    Karan

    Hi Chinmay!
    I too have the same Query, i see that there has been no response to your query, incase if you have started the institute, may be you can help me!
    I need to know the procedure to start an SAP training Institute.
    I have set up a Company, now what next? Do i need to Partner with SAP? how do i get access to SAP IDES? How much is it going to cost me?
    Once that is in place, who are the people i need like Basis team to set up the landscape. etc...
    Awaiting a response from anyone, who can guide me.
    Regards,
    Ronica.

  • Satellite Pro C650-153: movie music starts "stuttering" every 5, 10 second

    Recently my computer has problems playing movies and music. When I try to do this it is fine for the first 5 minutes. Then my computer the movie/music starts "stuttering" every 5 to 10 seconds. The screen freezes for a second and the rest of the movie is played really fast. Also the sound/music stops for a second and you here a scratching sound.
    I have tried using other mediaplayers like BSplayer or Quicktime but its the same story with those players. I am currently using Windows Media Player and Itunes.
    I have already cleaned the vents of my computer because I was thinking it was to hot, but that is not the case. Also I have removed all the files I don't need anymore and cleaned my computer using CCleaner etc.
    I don't know what the problem is. Can anybody help me?

    Hi
    Found this very interesting Toshiba FAQ document:
    *The sound / video playback of a media file is stuttering*
    http://aps2.toshiba-tro.de/kb0/TSB12033I0001R01.htm
    It looks that old Intel rapid storage technology driver could cause the problems.
    Update the driver and test how it works.

Maybe you are looking for

  • Is join on BINARY_FLOAT faster than join on NUMBER?

    Hi, When designing a star schema, would I get better join performance if my keys are NUMBER datatype or BINARY_FLOAT? I'm thinking that BINARY_FLOAT (or BINARY_DOUBLE) may be faster because it wouldn't have to do any conversion on the NUMBER data bef

  • Check the file extension in the selection screen

    hi, in the selection screen i am giving a file path. the file should be of type PDF only. how to validate it ? i am splitting the file path at "." and checking for the last three letters , if it pdf or not. but it is throwing error for pdf format als

  • OBI Publisher

    I couldn't able to create a Data Source in BI Publisher. It shows the following Error. "Couldn't establish Connection". i have given the Connection String as "jdbc:oraclebi://DSCP36383:9703/" Database driver class "oracle.bi.jdbc.AnaJdbcDriver".

  • Can you make a photo album private

    I have some pictures in some albums that I dont want everyone who grabs my phone to see. Can you make an album invisible or password protected ?

  • "Remove Hidden Information" not functioning properly after crop

    Hello all, I often print multi-page MS Visio documents to PDF, then edit them in Acrobat Pro XI.  I have found that since the most recent update of Acrobat Pro XI, when I crop a page, then select "remove hidden information," it only removes text info