Can script be parameterized such that we don't need 3 copies

Can script be parameterized such that we don't need 3 copies, or to run against actual table name if aforementioned pre-implementation activities are effective?
INSERT INTO ACCT_ALT_ID(acct_alt_id,
ibd_id,
acct_alt_id_cntx_cde,
eods_acct_id,
data_grp_cde,
crte_pgm,
crte_tstp,
updt_pgm,
updt_tstp)
SELECT acct_alt_id,
ibd_id,
acct_alt_id_cntx_cde,
eods_acct_id,
data_grp_cde,
'EODS',--crte_pgm
SYSDATE,--crte_tstp
'EODS',--updt_pgm
SYSDATE--updt_tstp
FROM     ACCT_ALT_ID_1
INSERT INTO ACCT_BENF_DESG_NEW( eods_acct_id,
data_grp_cde,
benf_desg_opt_nme,
crte_pgm,
crte_tstp,
updt_pgm,
updt_tstp,
prtt_cde)
SELECT eods_acct_id,
data_grp_cde,
benf_desg_opt_nme,
'EODS',--crte_pgm
SYSDATE,--crte_tstp
'EODS',--updt_pgm
SYSDATE,--updt_tstp
'BETA_0'--prtt_cde
FROM     ACCT_BENF_DESG_1
INSERT INTO ACCT_ALT_ID_NEW(acct_alt_id,
ibd_id,
acct_alt_id_cntx_cde,
eods_acct_id,
data_grp_cde,
crte_pgm,
crte_tstp,
updt_pgm,
updt_tstp)
SELECT acct_alt_id,
ibd_id,
acct_alt_id_cntx_cde,
eods_acct_id,
data_grp_cde,
'EODS',--crte_pgm
SYSDATE,--crte_tstp
'EODS',--updt_pgm
SYSDATE--updt_tstp
FROM     ACCT_ALT_ID_2
INSERT INTO ACCT_BENF_DESG_NEW( eods_acct_id,
data_grp_cde,
benf_desg_opt_nme,
crte_pgm,
crte_tstp,
updt_pgm,
updt_tstp,
prtt_cde)
SELECT eods_acct_id,
data_grp_cde,
benf_desg_opt_nme,
'EODS',--crte_pgm
SYSDATE,--crte_tstp
'EODS',--updt_pgm
SYSDATE,--updt_tstp
'BETA_0'--prtt_cde
FROM     ACCT_BENF_DESG_2
INSERT INTO ACCT_ALT_ID_NEW(acct_alt_id,
ibd_id,
acct_alt_id_cntx_cde,
eods_acct_id,
data_grp_cde,
crte_pgm,
crte_tstp,
updt_pgm,
updt_tstp)
SELECT acct_alt_id,
ibd_id,
acct_alt_id_cntx_cde,
eods_acct_id,
data_grp_cde,
'EODS',--crte_pgm
SYSDATE,--crte_tstp
'EODS',--updt_pgm
SYSDATE--updt_tstp
FROM     ACCT_ALT_ID_3
INSERT INTO ACCT_BENF_DESG_NEW( eods_acct_id,
data_grp_cde,
benf_desg_opt_nme,
crte_pgm,
crte_tstp,
updt_pgm,
updt_tstp,
prtt_cde)
SELECT eods_acct_id,
data_grp_cde,
benf_desg_opt_nme,
'EODS',--crte_pgm
SYSDATE,--crte_tstp
'EODS',--updt_pgm
SYSDATE,--updt_tstp
'BETA_0'--prtt_cde
FROM     ACCT_BENF_DESG_3
/

876793 wrote:
It is promting enter substution variable, I do not want like that.
And what is "it"??? Without you showing us what "it" is how do you think we can help you. Anyway, "it" doesn't prompt me (exception is raised since I do not have tables ACCT_ALT_ID_1 and ACCT_BENF_DESG_1):
SQL> COLUMN N NEW_VALUE N NOPRINT
SQL> SELECT  '1' N
  2    FROM  EMP
  3    WHERE ROWNUM = 1;
SQL> INSERT INTO ACCT_ALT_ID_NEW(acct_alt_id,
  2  ibd_id,
  3  acct_alt_id_cntx_cde,
  4  eods_acct_id,
  5  data_grp_cde,
  6  crte_pgm,
  7  crte_tstp,
  8  updt_pgm,
  9  updt_tstp)
10  SELECT acct_alt_id,
11  ibd_id,
12  acct_alt_id_cntx_cde,
13  eods_acct_id,
14  data_grp_cde,
15  'EODS',--crte_pgm
16  SYSDATE,--crte_tstp
17  'EODS',--updt_pgm
18  SYSDATE--updt_tstp
19  FROM ACCT_ALT_ID_&N
20  /
old  19: FROM ACCT_ALT_ID_&N
new  19: FROM ACCT_ALT_ID_1
FROM ACCT_ALT_ID_1
ERROR at line 19:
ORA-00942: table or view does not exist
SQL> 
SQL> INSERT INTO ACCT_BENF_DESG_NEW( eods_acct_id,
  2  data_grp_cde,
  3  benf_desg_opt_nme,
  4  crte_pgm,
  5  crte_tstp,
  6  updt_pgm,
  7  updt_tstp,
  8  prtt_cde)
  9  SELECT eods_acct_id,
10  data_grp_cde,
11  benf_desg_opt_nme,
12  'EODS',--crte_pgm
13  SYSDATE,--crte_tstp
14  'EODS',--updt_pgm
15  SYSDATE,--updt_tstp
16  'BETA_0'--prtt_cde
17  FROM ACCT_BENF_DESG_&N
18  /
old  17: FROM ACCT_BENF_DESG_&N
new  17: FROM ACCT_BENF_DESG_1
FROM ACCT_BENF_DESG_1
ERROR at line 17:
ORA-00942: table or view does not exist
SQL> SY.

Similar Messages

  • HT201365 Now that I have upgraded to iOS 7, how can I make it so that I don't need a password every time I use my iPad?

    Now that I have upgraded to iOS 7, how can I make it so that I don't need a password every time I use my iPad?

    In v6 airport utility "Join a wireless network" is not available once the TC is setup.
    You must reset to factory and try again using the selection options.. and it can fail or not come up.. This is an extremely poor way to setup a TC.. and you should NEVER EVER DO IT.. that is why apple removed it. Since you are joining wireless it makes no difference where the TC is located.. since it would become a dumb AP and turn off its ethernet ports.
    Place it right next to your main modem router, plug in by ethernet, and select bridge mode and create a wireless network. Never use Join a wireless network..
    However for completeness here is the method.
    How do I setup my time capsule with wireless internet?
    Never ever do it.
    If you need internet by wireless and backup to the TC.. then simply plug the TC directly into the Mac.
    Run dual network.. Setup explained here.
    Using Time Capsule hardwired to Mac for back-up only.

  • I'm always losing all of my music and get a lot of apps that i don't need when i plug my i4 into my mac. I only ticked the box 'Manually manage music and videos' but it's always syncing itself. How can i prevent this? I don't want to put bacPlease Help!!!

    I'm always losing all of my music and get a lot of apps that i don't need when i plug my i4 into my mac. I only ticked the box 'Manually manage music and videos' but it's always syncing itself. How can i prevent this? I don't want to put back 1500 any more because of this. Please Help!!!

    I'm always losing all of my music and get a lot of apps that i don't need when i plug my i4 into my mac. I only ticked the box 'Manually manage music and videos' but it's always syncing itself. How can i prevent this? I don't want to put back 1500 any more because of this. Please Help!!!

  • I can't download the app '12 days of christmas'. The app details say that you don't need to use a device and that you can "download the gifts from your computer". How do I do this?

    I don't have the latest ipod touch and therefore can't download the app '12 days of christmas'. The app details say that you don't need to use a device and that you can "download the gifts from your computer". How do I do this, as I know its not possible to diretly use an app on a computer?
    Thanks
    Chris

    Go to the Purchases Tab in the App Store and Accept the apps.
    Then you'll be able to update them.
    Regards
    TD

  • HT1918 How do I change my billing info so that I don't need a bank account to d/l or update apps. I deleted my bank account and now I can't download or update anything?

    How do I change my billing info so that I don't need a checking account? I don't have a banking account and now I can't download or update any apps because I have no checking account.

    In general, Apple does not provide refunds but you can try to contact them here: http://www.apple.com/support/itunes/contact/

  • How come my macbook air has so little space. I deleted everything that I don't need and everything that has the most space I'm told NOT to delete. Everything I find is in either KB or very low MB.

    How come my macbook air has so little space. I deleted everything that I don't need and everything that has the most space I'm told NOT to delete. Everything I find is in either KB or very low MB.

    Check what is in your SSD/ storage on your macbook  Apple Icon >   about this mac > more info >  STORAGE tab on top
    recommend handy useful APPS such as :
    Disk Expert
    https://itunes.apple.com/us/app/disk-expert/id488920185?mt=12
    Disk Map
    https://itunes.apple.com/us/app/disk-map/id715464874?mt=12
    dont need them, but theyre very useful.
    also the best is DAISY DISK
    https://itunes.apple.com/app/daisydisk/id411643860?mt=12&ign-mpt=uo%3D4
    See here for answer about the OTHER which is taking up space:
    http://pondini.org/TM/30.html
    and here:
    http://pondini.org/OSX/DiskSpace.html
    See Kappys excellent note on the rest of “other” files taking up your space:
    What is "Other" and What Can I Do About It?
    see here:
    Your Solid State Drive and having enough space inside your Macbook Air & Pro
    Solid State Drive usage premise, or the “more space / upgrade SSD” question
    There have been questions posed and positions taken by many people who are trying to use their Macbook Air or Pro’s solid state drive (SSD) as a mass media storage device, for either pictures, videos, massive music collections or all three combined; but this should not be the working premise of a ‘limited’ SSD and its use.
    In which, it’s the case of those users with either 128GB, 256GB, or even 512GB of internal SSD space, that have or are running “out of space”, that questions are raised. The immediate premise of some users can sometimes be “(how to / if) upgrading my SSD” when in fact in nearly all instances another approach is the logical and sensible one that needs to be looked into and exercised.
    Any Macbook containing a SSD should be idealized as a ‘working platform’ notebook containing all your applications, documents, and weekly or bi-weekly necessary files. All collections of media files such as pictures, music, and videos, unless directly needed should be kept off the notebook and on an external hard drive or likewise. While the ‘working platform’ premise is also the case with larger internal conventional hard drives of 1TB+, its implementation isn't as critical except in terms of data protection.
    Realistically, you should at most coordinate roughly 20 to 25% of your total SSD space to all audio-video personal use media (picture / music / video collections), leaving the remaining amount on an external HD.
    Nobody should consider any notebook a data storage device at any time under any circumstance, rather a data creation, sending, and manipulation device; and in the case of a SSD, this is more important for purposes of having sufficient working space on the SSD and reducing SSD ‘bloat’ in which cases someone is wrongly attempting to use the SSD space as a large media storage nexus.
    The rare exception to the collective usage and premise of SSD use in which a much larger SSD is truly needed are for those in video and photography professions that require both the extremely fast speeds of the SSD and the onboard storage for large and or many video and photography files. However this also falls under the premise of a ‘working platform’ for such peoples rather than the intent of many who are using the SSD as passive and static data storage for media files very infrequently needed or accessed.
    All on-notebook data collections should be logically approached as to necessity, and evaluated as to whether it is active or passive data that likely doesn’t need to be on the notebook, allocations of space-percentages to as-needed work and use, apportioning space for your entertainment media, and questioning whether it should it be on the notebook for more than short-term consumption.
    Considerations should be made in the mind of any user in differentiating the necessary system data (System hub) comprising the Mac OSX, applications, necessary documents that both must and should be on your internal SSD, and that of the users personal data (Data hub) comprising created files, pictures, music, videos, PDF files, data created or being created and otherwise, that likely unless being used soon or often should be parked on an external hard drive for consumption, or temporarily loading onto the internal SSD.
    You both can and should purchase whichever SSD size you need or see fit, but even in the case of the largest of SSD, unless use-considerations are made, and SSD spaces are allocated as should be the case indicated above, one can easily and immediately run into this quandary of “needing more internal SSD space”, in which instance a different approach in usage must then be implemented.
    However it is almost always the case, that such large media files are wanted to be stored internally rather than actually needed, in which case the external HD is both prudent as well as necessary. Additionally costs per MB are infinitely less on an external HD than an internal SSD in any consideration of data expansion needs.
    A Professional Example
    In the case of a Macbook Air or Macbook Pro Retina with ‘limited’ storage on the SSD, this distinction becomes more important in that in an ever rapidly increasing file-size world, you keep vital large media files, pics, video, PDF collections, music off your SSD and archived on external storage, for sake of the necessary room for your system to have free space to operate, store future applications and general workspace. 
    You should also never be put in the position of considering “deleting things” on your Macbook SSD in order to ‘make space’. This is especially what your external HD is for.
    Professionals who create and import very large amounts of data have almost no change in the available space on their notebooks internal SSD because they are constantly archiving data to arrays of external or networked HD.
    Or in the case of the consumer this means you keep folders for large imported or created data and you ritually offload and archive this data for safekeeping, not only to safeguard the data in case your Macbook has a SSD crash, or gets stolen, but importantly in keeping the ‘breathing room’ open for your notebook to operate, expand, create files, add applications, for your APPS to create temp files, and for general operation.
    Slim USB3 1TB external hard drive
    External Hard Drives
    External hard drives are both extremely cheap and regardless of the size of your internal SSD (or even internal hard drive if the case), you need an external hard drive with your SSD equipped Macbook for several reasons:
    1. Data backup and protection.
    2. Redundancy for important data.
    3. Necessitated ideal space for large media files for collections of pictures, videos, and music etc.
    While ever changing in price, typical portable 2.5” external hard drives in USB3 run roughly $65 for 1TB or $120 for 2TB small portable USB3 hard drives. Such drives range in thickness between 5mm and 15mm, with recent improvements in storage of 500GB drives in 5mm profiles.
    There is almost no premise in which a small 12mm thick 1 Terabyte USB hard drive cannot be taken along with any Macbook as an external large storage extension inside any Macbook carry case or pouch. Typically such external HD profiles are not much bigger than a deck of cards.
    External hard drives are a foregone necessity for purchase with any Macbook for at the very least Time Machine backups, data redundancies, and ideally for large media storage.

  • How do I fully import my itunes music from my external hard drive to my new HP computer so that I don't need the external HD attached to listen to my music? It won't promt me to fully import songs when I import the folder from the EHD.

    When I select File> Add folder to library and then press "select folder" after finding the iTunes music folder I wish to import from my external hard drive, it does not promt me whether to fully import it or not. After the importing is complete, the external hard drive must be attached in order for me to listen to my music. I do not wnat this; I wnat my music fully imported so that I don't need my EHD. What can I do? Thanks!

    To import music into your iTunes library on the computer go to iTunes>Help>iTunes Help>Add items to iTunes and follow the instructions

  • I'd like to make sur the update from iOS 5 to iOS 7 is done OTA and that you don't need to plug in to iTunes to upgrade when your device is in iOS 5. thx

    Can you tell me if the upgrade from iOS 5 to iOS 7 is made OTA and that you don't need to plug in to iTunes using your PC. thx

    If running iOS 5 or later, update can be OTA or via iTunes.
    Be sure to have a good backup. OTA requires at least 3 GB
    free on your iPhone, less if done via iTunes. Make sure your
    iPhone is fully charged and you have a good wifi connection
    before attempting OTA update.

  • HOW CAN I START DOWNLOADS AUTOMATICALLY? I DON'T NEED TOO SEE THE SAVE OR DISCARD BOX. THIS BUGS THE CRAP OUT OF ME. CAN I CHANGE THIS, OR ARE WE FORCED TO DO WHAT YOU THINK IS BEST? THANKS, KEITH D.

    HOW CAN I START DOWNLOADS AUTOMATICALLY? I DON'T NEED TOO SEE THE SAVE OR DISCARD BOX. THIS BUGS THE CRAP OUT OF ME. CAN I CHANGE THIS, OR ARE WE FORCED TO DO WHAT YOU THINK IS BEST? THANKS, KEITH D.

    Hey, Jeff...
    I don't know how I could have made my question any more clear -- so let me try approaching it the other way around, and refer back to your answer(s).
    You've been responding by saying that it's okay for me to remove the Creative Cloud versions of my software, but I don't have any Creative Cloud versions installed! I'm not talking about that at all, I'm talking about the software for Creative Cloud itself -- I don't use it, I don't need it, I don't want it, and all it does is nag me, telling me that there's updates for it (Creative Cloud). I have the full Adobe Creative Suite 6 Design Standard bought and paid for, I have no reason nor need to "rent" any later versions, I'm just talking about the Creative Cloud software itself that got installed on my system when I installed that suite of programs.
    Like I said, I don't use Creative Cloud at all -- all it does is "nag" me, and eat up space on my hard drive. When I go in my Windows Control Panel and look at my list of installed programs, there it is -- "Adobe Creative Suite" -- and it's listed separately from "Adobe Creative Suite 6 Design Standard" (of which I've only installed Photoshop, Acrobat and InDesign, basically, as those are the only programs I use at all at the moment). Can I just uninstall "Adobe Creative Suite" without it affecting "Adobe Creative Suite 6 Design Standard", i.e. my Photoshop, etc. will still work just fine, and I can still get updates and stuff? And by "updates" I don't mean get later versions of Photoshop, etc., I just mean any possible updates to the software that I do already have (that comes with Adobe Creative Suite 6 Design Standard).
    I hope that makes my question a little more clear?

  • Remove apps that I don't need but keep them just in case....

    My iMac 27" is cluttered with apps that I bought and no longer use
    How could I remove them from my iMac to free HD space, but still keep them some where, just in case I need to reinstall them in the future.
    I would like to make the Mac a bit more leaner and fast
    Remove apps that I don't need but keep them just in case....
    My specs are...
    Thanks for your help
    Daniel

    Daniel The Truckie wrote:
    ... Do I just drag and drop them to an external ...
    Yes.
    Be Sure the External drive is Formatted Mac OS Extended (journaled)
    After you are satisfied they are Safely on the External... You could even Select a Couple on the External and check that they Open and Run...
    Then... Discounect the External and Delete the particular Applications from your Internal.
    Then... if you like... Reconnect the External and Select a Couple of the Applications and check that they Open and Run...

  • How do i recover a purchase I made for more iCloud storage that i don't need?, How do i recover a purchase I made for more iCloud storage that i don't need?

    How do i recover a purchase I made for more iCloud storage that i don't need?

    Please see this website: http://support.apple.com/kb/HT4874

  • How do I uninstall anything running in background that I don't need?

    I am having problems (iMac OSX 10.6.8) with my searches being intercepted.
    Could this be caused by applications running in the background?
    If so, how do I uninstall anything running in background that I don't need?

    But whatever I search on Google, within moments my email box is crammed with spam on a related topic.
    If that's true, then it would seem you have put your email addrress out on the Internet somewhere.
    At the same time, it's possible that you have inadvertently got some malware on your system and that it is what is intercepting your web searching and then sending you email on that or related topics. I'm not suggestng this is likely, only that it's a possibility, however small.
    Who is your Internet provider? Some of them actively intercept searches and foist ads on you, especially when you try to go to a web site that doesn't exist or one that isn't cached in their DNS servers.

  • Computer hacked; asking for update that I don't need. Spyware?

    I believe it might by Spyware. Despite the fact that I'm running latest version of Firefox, a new link opens that tells me I need to upgrade to latest version of Firefox, which I mistakenly did. Now I have pop-ups galore. And I constantly have new windows opening up. I can't get any work done, I must use Firefox for my work. For example, I have had, I estimate, 10 windows or links open up in the short time that I have typed this message. Very frustrating. I am using Windows 8.

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • HP is forcing me to buy yellow ink catridge that I don't need.

    Why do I have to buy a new yellow ink cartridge when I only print docs in black? The yellow cartridge is still half full.
    My printer won't print my docs till I replace this yellow ink catridge that I don't want or need.

    Last month I had to buy a magenta. The printer lets me print by manually prompting the printer to print with black ink only for about a dozen times, then it won't print at all till I replace the color cartridge.

  • Can i sell my software key? don.t need it, can't return it.

    I recently purchased a download of Mountain lion, but then realized that i did not need it. Now i am stuck with it. Is there any way i can resell it?

    No. It's tied to your Apple ID (apart from being against the terms of use). Downloaded purchases are final as you can't very well return them.
    If you have received the key but haven't actually initiated the download you could try contacting Support and seeing whether they will agree to cancel the purchase. Go to https://getsupport.apple.com . Click 'See all products and services', then ' 'iTunes', and then 'iTunes Store', then 'Purchases, Billing & Redemption'.
    If you've downloaded the installer then it's possible that they would consider a refund but I would have thought doubtful.

Maybe you are looking for

  • Upload transaction data for transactions like KSU2/KSU5,KB31N

    We are trying to upload transaction data for transactions like KSU2/KSU5,KB31N etc using batch data processing within LSMW. We are facing couple of problems as mentioned:<br /> We have to upload data, which has a single header record with 200-300 lin

  • TOC not showing up on mobile devices after generating Multiscreen HTML5 output?

    I'm using a trial version of RoboHelp 10. I created a project and used the screen profile: Android_Galaxy_Tab and the Screen Layout" Android_Tablet_Layout and generated HTML5 output from that. I navigate to the folder on my computer and click index.h

  • Mail filling disk space

    Hello Looking at a friends mac air, her aol account is up the spout. Mail has created many duplicate recovered messages. In system log I get RecoveredMessage: Error deserializing message property list for file ... Unexpected character M at line 1 ...

  • Connecting ipod to portable sound system...

    Hi everyone! I was told that you can buy a dock that will connect to any portable sound system where you can dock your ipod to play through the sound system and charge at the same time...is this true and if so where can i buy? Thanks in advance... Re

  • Padding a field out with spaces to s set length

    Post Author: danish CA Forum: Formula Hi, I'm new at using Crystal Reports. I am trying to pad a string out to a set length of 50. The initial string is of variable size depending on the data in the field. Can anyone tell me how I can do this using a