See the script generates names of different columns... not even when view desc

When I describe myself I think I get the following columns

voucherdetail / / DESC
Name of Type Null
------------------------------ -------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SERIAL_NUMBER NOT NULL VARCHAR2 (20)
SECRET_CODE NOT NULL VARCHAR2 (100)
STATUS VARCHAR2 (2)
NUMBER OF FACE_VALUE
NUMBER OF CALL_VALUE
CREATION_DATE DATE
VALIDITY_EXTENSION_PERIOD NOT NULL NUMBER (5)
DATE OF VOUCHER_EXPIRY_DATE
NUMBER OF TAX_AMOUNT
NUMBER OF MISC_CHARGE
NUMBER OF OTHER_CHARGE
BATCH_NO VARCHAR2 (10)
DATE OF LAST_MODIFIED_DATE
LAST_MODIFIED_BY VARCHAR2 (25)
DATE OF REDEEMDATE
DATE OF ACTIVATIONDATE



WHEN I GENERATE MY VIEW SCRIPT GET THE SCRIPT ACCORDING TO:

CREATE VIEW VOUCHERDETAIL AS SELECT PinSeq, a.Account_id, a.Status,
(SELECT A.CHARGEAMT FROM MST_CHARGESHEET A, MST_CHARGE B.)
WHERE A.charge_id = B.charge_id
AND B.CHARGE_WHEN = 'A' - RATED VALUE
AND WETODATE IS NULL
AND CHARGESHEETCODE = b.CHARGESHEETNO
) FACE_Value,.
(SELECT A.CHARGEAMT FROM MST_CHARGESHEET A, MST_CHARGE B.)
WHERE A.charge_id = B.charge_id
AND B.CHARGE_WHEN = 'B' - CALL VALUE
AND WETODATE IS NULL
AND CHARGESHEETCODE = b.CHARGESHEETNO
) Call_Value,.
NVL (A.LAST_MODIFIED_DATE, A.CREATED_DATE) CREATED_DATE, EXPIRYDAYS, NVL(A.EXPIRYDATE,B.EXPIRYDATE) DISPLAYED,
(SELECT A.CHARGEAMT FROM MST_CHARGESHEET A, MST_CHARGE B.)
WHERE A.charge_id = B.charge_id
AND B.CHARGE_WHEN = 'Q' - AMOUNT OF TAX
AND WETODATE IS NULL
AND CHARGESHEETCODE = b.CHARGESHEETNO
) Tax_AMOUNT,.
(SELECT A.CHARGEAMT FROM MST_CHARGESHEET A, MST_CHARGE B.)
WHERE A.charge_id = B.charge_id
AND B.CHARGE_WHEN = 'H' LOAD - MISC
AND WETODATE IS NULL
AND CHARGESHEETCODE = b.CHARGESHEETNO
) VARIOUS,.
(SELECT A.CHARGEAMT FROM MST_CHARGESHEET A, MST_CHARGE B.)
WHERE A.charge_id = B.charge_id
AND B.CHARGE_WHEN = 'X' - ANOTHER LOAD
AND WETODATE IS NULL
AND CHARGESHEETCODE = b.CHARGESHEETNO
) OTHER_CHARGE, a.swhBatchcode, a.LAST_MODIFIED_DATE, a.LAST_MODIFIED_BY, a.ATTRIBUTE_DATE1, a.ATTRIBUTE_DATE2
Mst_PINDetails a, mst_batchno b
WHERE a.swhBatchcode = b.swhBatchcode
ORDER BY PinSeq;




WHAT I SEE, IT IS THE NAMES OF COLUMNS THAT ARE DISPLAYED WHEN I DESCRIBE MY VIEW OR RUN MY QUERY ON THE VIEW, OR NOT THE SAME IN THE SCRIPT THAT I GENERATE... DUE TO WHICH MY APPLICATION FAILS FRONTEND WHEN I RUN MY REPORT ON THIS POINT OF VIEW

WHY IS THAT IT IS SHOWING DIFFERENT COLUMN NAMES?

How can you generate your view script? Which tool?

For example, if you use TOAD, then check your script options. You can miss a check mark in the setting "columns".
It might be, that if you put the check mark in the "columns" setting, then your script is as follows:

CREATE VIEW VOUCHERDETAIL (
SERIAL_NUMBER,
SECRET_CODE,
STATUS,
FACE_VALUE,
CALL_VALUE,
CREATION_DATE,
VALIDITY_EXTENSION_PERIOD,
VOUCHER_EXPIRY_DATE,
TAX_AMOUNT,
MISC_CHARGE,
OTHER_CHARGE,
BATCH_NO,
LAST_MODIFIED_DATE,
LAST_MODIFIED_BY,
REDEEMDATE,
ACTIVATIONDATE
)
AS SELECT PinSeq, a.Account_id, a.Status,
(SELECT A.CHARGEAMT FROM MST_CHARGESHEET A, MST_CHARGE B
WHERE A.charge_id = B.charge_id
AND B.CHARGE_WHEN='A' --FACE VALUE
AND WETODATE IS NULL
AND CHARGESHEETCODE =b.CHARGESHEETNO
) FACE_Value,
(SELECT A.CHARGEAMT FROM MST_CHARGESHEET A, MST_CHARGE B
WHERE A.charge_id = B.charge_id
AND B.CHARGE_WHEN='B' ----CALL VALUE
AND WETODATE IS NULL
AND CHARGESHEETCODE =b.CHARGESHEETNO
) Call_Value,
NVL(A.LAST_MODIFIED_DATE, A.CREATED_DATE) CREATED_DATE, EXPIRYDAYS, NVL(A.EXPIRYDATE,B.EXPIRYDATE) EXPIRYDATE,
(SELECT A.CHARGEAMT FROM MST_CHARGESHEET A, MST_CHARGE B
WHERE A.charge_id = B.charge_id
AND B.CHARGE_WHEN='Q' --TAX AMOUNT
AND WETODATE IS NULL
AND CHARGESHEETCODE =b.CHARGESHEETNO
) Tax_AMOUNT,
(SELECT A.CHARGEAMT FROM MST_CHARGESHEET A, MST_CHARGE B
WHERE A.charge_id = B.charge_id
AND B.CHARGE_WHEN='H' --MISC CHARGE
AND WETODATE IS NULL
AND CHARGESHEETCODE =b.CHARGESHEETNO
) MISC,
(SELECT A.CHARGEAMT FROM MST_CHARGESHEET A, MST_CHARGE B
WHERE A.charge_id = B.charge_id
AND B.CHARGE_WHEN='X' --OTHER CHARGE
AND WETODATE IS NULL
AND CHARGESHEETCODE =b.CHARGESHEETNO
) OTHER_CHARGE, a.swhBatchcode,a.LAST_MODIFIED_DATE ,a.LAST_MODIFIED_BY, a.ATTRIBUTE_DATE1,a.ATTRIBUTE_DATE2
FROM mst_PINDetails a, mst_batchno b
WHERE a.swhBatchcode = b.swhBatchcode
ORDER BY PinSeq;

CREATE VIEW statement supports explicitly naming them columns. If they are named like that, then the query name/alias columns are ignored.

Tags: Database

Similar Questions

  • Cannot run the script generated with export Clip.

    I use AE CS6 and FCPX 10.0.7. I have imported the images in this way successfully before and have not changed or updated either of these programs since. Exporter of clip is up to date.

    Today, I created an XML of my calendar and trying to run the script generated from it, I get the error 'cannot run the script on line 22. WHEREAS"}

    I opened to the top of the script and 22 bed line editor ' comp [0] = {name: "Scenes of Kyle", w: 1920, h:1080, pasp:1.0000, hard: 39.7063, fps:23.9760, departure: 0.00001};

    Any help would be appreciated.

    The default is here:

    name: "Scenes of Kyle.

    For a shell script that reads as

    Kyle, scenes of s

    or be interpreted as noise and move the successive data so it would be interpreted wrongly. This is simply sloppy programming. It will have to be properly "escaped" to avoid the error:

    "Scenes of Kyle\".

    Contact the creator to fix his script and for the time being to use folder names that go without apostrophes...

    Mylenium

  • Don't see the "Scripts" menu under the Setup tab in FDMEE

    Hello

    I'm new to FDM, we recently moved to FDMEE and I tried to access scripts to update, but I do not see the SCRIPT Menu in the FDMEE interface on the Configuration tab.

    Can someone please sugest the solution?

    Thank you

    VJ

    Hello

    What version of PMC are you on? These scripts have not been introduced before a patch of 11.1.2.3 (I think 11.2.3.300, but I will check). So if you are on the basic version then the integration Scripts will not be an option.

  • Unable to connect to the Internet using Auntie Photon, it shows the device has been disconnected or is not available when clicking on the button connect

    Original title: Auntie Photon

    Hi all

    I use Auntie Photon on windows platform 8, and it shows the device has been disconnected or is not available when clicking on the button connect. For this reason, I am not able to use internet on my Laptop.I also in contact with the customer service and they told me to take the laptop to any engineer to solve this problem.

    Help, please.

    Hi Varun,

    Thanks for posting on Microsoft Community. I understand that you are not able to connect to the Internet using the dongle Auntie Photon. Let us work together as a team and try to get this fixed number.

    Please help me with the following information related to this issue:

    1. You have installed the required software on your computer which came with Auntie Photon?
    2. Do you see an error or exclamation point in Device Manager when you connect Auntie Photon dongle? See the steps to check:
    • Press Windows Key + X.
    • Select Device Manager.
    • Check if there is no error or exclamation point under Auntie Photon.

    This problem can occur if device drivers are not get detected or due to missing/corrupt device drivers.

    Please follow the steps mentioned below:

    Method 1: Run the hardware troubleshooter

    The convenience store is an automated tool that checks the hardware attached to the computer for known problems and provides details on how to correct them. Follow these steps to run the troubleshooter.

    1. Press Windows key + W on the keyboard.
    2. Type the Troubleshooting in the search bar and press Enter.
    3. In the Troubleshooting window, click show all in the left pane.
    4. Click hardware and devices.
    5. Click right on material and devices and and select run as administrator.
    6. Click Next and follow the on-screen instructions to complete the process troubleshooting.

    If the troubleshooter could not find and fix the problem, I would suggest trying the following method and check.

    Method 2:

    Note: Make sure that the Auntie Photon dongle is plugged.

    Step 1: You can try to uninstall and reinstall the drivers of Auntie Photon and check. Follow these steps:

    1. Press Windows key + X on the screen.
    2. Select Device Manager.
    3. Expand the network adapter and right click on driver and select Uninstall.
    4. Restart the computer.
    5. Windows will automatically load the drivers.

    Step 2:

    You can also try to launch the Windows updates and install all the updates that are available including the driver in option and the updates of the firmware.

    Windows Update: frequently asked Questions

    You can also get in touch with Auntie Support and check the updates to driver for Windows 8.

    Please answer us on the State of the question to help you further.

  • We get the following 'error' in eSign: you are not authorized to view the content of this agreement

    We have an end user with a valid account that receives a request to approve the document, but when he opens the eSign link, it says it is not "authorized to view the content of this document of.  This could be the cause of this problem?

    Thank you.

    Tammy

    The answer is:

    Go to 'visibility limited document' account-> Account settings-> global settings and uncheck the option 'Signatories will see only files containing input fields, acronyms or signed data that a. summer', save changes and send a new transaction, the problem will disappear.

  • With rendering problems. Rendering started taking 10 times longer. I have pleanty of memory, I cleaned the media cache and now it will not even made a single wipe small transition. Goes at the beginning of the timeline, as if she has made the effect.

    With rendering problems. Rendering started taking 10 times longer. I have a lot of memory, I cleaned the media cache and now it will not even made a single wipe small transition. Goes at the beginning of the timeline, as if she has made the effect.

    I determined the cause. Damaged media. Copy old sequence in new chronology cross me if I return after any change in the timeline. I am able to export own media. No change to hardware and software recently. I'm running Windows 10. (Hatred, dating back to 7)

  • I have problems with the shopify widget in Muse. I have configured my shopify store, but when I placed the button 'buy' is didn't tell the product no availabe longer and does not appear when I'm writing the site.

    I have problems with the shopify widget in Muse. I have configured my shopify store, but when I placed the button 'buy' is didn't tell the product no availabe longer and does not appear when I'm writing the site.

    Please contact the original publisher of the widget.

    Thank you

    Sanjit

  • How can I see the script created by card AWM?

    Hello

    I use an AWM 11.1, we created a map that causes some problems.
    It seems that the script created by MN is not good. I want to see the SQL Script created by MN. Where can I find it (the selection which runs when loading the data in the cube)?

    Thank you
    Boris

    11.1 you can get the SQL code used to load data into the dimensions and the cube of the cube_build_log table, but only after the dimension or cube is kept. Look in the output column. In 11.2, you can preview the SQL

  • All products see the & Show This Computer list different SoftPaqs

    SDM 3.5.1.0 running.  SPs for Elitebook turn G1 Tablet (Win 8 64) are different if sought by virtue of show all products or Show This Computer.  No. 2014 SPs show in "All products" at all, but show under "this computer".

    Thank you
    Russell

    Assuming that the SDM is run on a tablet of G1 turn EliteBook with Windows 8 64 bit on it and that the same exact selection is used for all products mode, there should be no difference between personal and all products , provided that:

    1. you have the same exact model, a BONE, a selected language mode of all products such as detected by SDM
    2. you use the same scale (see the last SoftPaqs or view all SoftPaqs ) for both modes.

      Note: the default scale for all products and personal modes are SoftPaqs all Show and Show last SoftPaqs, respectively.

  • resize the Actionscript Panel is great to see the script

    This may sound stupid but.

    When I open the ActionScript Panel, it is great to see the whole Board.  I have script under the monitor window, but cannot be resized this Panel so you can see the rest of my code.  Is it possible to resize this Panel with using of cloth.  This will not work because I can't get to the bottom of the screen in the small sheet / resize the Panel.

    Any help.

    Click window-> Workspace-> default

  • How to create services start and stop the script of automation for different servers

    Hi all

    I want to create a file bat for automation object, start and stop services
    I have some services in 1 server and a server in 2nd and some servers in 3rd.
    has you all know that I have to follow the sequence to start and stop services can all help me in creating .bat combining 3 servers fo start and collapses of the services.

    Thanks in advance

    Concerning
    SM

    the location of your batch file should not matter

  • I want to delete after the line that I m using the script... COIL is not used here

    Hi team,

    1.SQL * more: Production release 11.2.0.3.0 on Mon 19 Nov 08:47:36 2012
    2.
    3 Copyright (c) 1982, 2011, Oracle. All rights reserved.
    4.
    5.
    6. connected to:
    7 oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    8. with the options of partitioning, OLAP, Data Mining and Real Application Testing
    9.
    SQL > SQL > 2 3
    NAME LOG_MODE INVALID_OBJECTS INVALID_ n/a _INDEXES invalid triggers broken jobs block Corruption
    --------- ------------ --------------- ------------------- ---------------- ----------- ----------------
    DBAS ARCHIVELOG 530 530 6 16 0
    10.
    11 SQL > SQL > disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    12. with the options of partitioning, OLAP, Data Mining and Real Application Testing



    I'm not above numbered line: i 1-9 and 10-12 to appear when cannot connect to sqlplus, please suggest how to turn them off and I need just of data between people. That is to say one line 11/12/13

    You can also do:

    (1) create a file with to call the script from the sql code:
    .. /.. /.. /sqlplus s username/password @... /... /.. /.. / test. SQL

    (2) create the code sql script:
    .. /.. /.. /.. / test. SQL

    Select * twice;

    and you will get:

    D
    -
    X
    
  • The script "SET CREATEBLOCKSONEQ ON" don't not creating blocks

    Hello

    We used the script "SET CREATEBLOCKSONEQ ON" in a business rule, but new blocks are not created.

    Anyone can guide us in this regard?

    Thank you.

    You can correct IMGs who have 900 and 1500 members and create blocks for them based on another dimension ex:
    We have more sparse dims: entity 1000, 1000 products, 5 years, 5 Sen, Version 5 and now you want to create block for entities and products for FY11, Budget, Version1 then

    DIFFICULTY (@RLEATIVE ('entity', 0), @RELATIVE ("products", 0), Fy11, Budget)

    Version1 is Vesrion1 + 0.;

    ENDFIX;

    This will create all the block for you; It is once again a problem all the blocks of potential will be packed you can restrict the same in condition to create blocks and this condition will be dependent on the logic for ex: If the profit is > 0 then create block

    DIFFICULTY (@RLEATIVE ('entity', 0), @RELATIVE ("products", 0), Fy11, Budget)
    Veresion1
    (
    IF ("NetProfit" > 0) / * this logic may vary according to your requirement * /.
    Version1 is Vesrion1 + 0.;
    ENDif;
    )

    ENDFIX;

    Or if you have connected this BR to a web form and that you have selected use member on the data form you can use SPTR to create blocks. The room no. above may use RTP for members to make it more useful.

    See you soon... !!!

  • Not able to see the software Audio Beat and silent witness not lit on cool windows 8

    Hello

    I use a laptop: HP ENVY 4 1046tx. I installed fresh windows 8 on it. After that I downloaded the audio software of HP software: the site, but this driver is not accepting.

    1. I am not able to see the Beat Audio software and Equalizer setting in Control Panel.

    2. when I am pressing mute mute button (red light) was not on the button

    Thank you

    Prabhat

    Try the driver IDT Audio here:

    http://ftp.HP.com/pub/SoftPaq/sp58501-59000/sp58635.exe

  • Can not see the video of sony cyber shot DSC HX7V files when connected to the PC

    I took a few videos of my Sony cybershot camera DSC HX7V. I can see the video when I play through the camera. But when I connect the camera to the PC I can show only images. No video file is visible on the screen, so I'm unable to copy on my PC. I tried to plug the card directly to the PC to access the videos, but I have not seen. I also tried to connect the camera via USB to access the video and even once, I failed. Please help as I want to save them on my HARD drive for the future.

    Hi Sneha,

    By default the hidden files and folders are not visible you must change the settings in folder options to see. You can view the steps in this link:

    http://blogs.msdn.com/b/zxue/archive/2012/03/08/WIN8-HOWTO-19-show-hidden-files-folders-and-drives.aspx

    I hope this helps.

Maybe you are looking for

  • Photos of airPlay on Apple TV look too bright

    Folds in salvation, While all the video content crosses very well on my screen of 4 K TV, photos are coming across too bright, no matter what camera I use as a source (iMac, iPhone and iPad). No recommendation for this problem? Thank you.

  • New screen LCD Satellite 110CS

    Hi all My problem is that I have a motherboard EPIA M1000G LVDS and I train to connect and old 11.3 "SHARP LCD for laptop 110CS Toshiba I got in my basement and wanted to build a similar computer as the HP all-in-One Series with that stuff The module

  • Satellite A100 - problems after bootcfg /rebuild

    Hi there guys!I have a problem, that's for sure. I'll just show you a screenshot to get the image messed up :-)) http://i26.Tinypic.com/14uxbu1.jpg Well well... everything that's happened when I chose the option "Normal startup" in msconfig (this one

  • Main hard drive has lost recently. (2 mo out of warranty)

    Lost the main hard drive on p6717c running Win 7 Home premium 32-bit.  Warrentey expired on 19/02/12.  Hard disk was sent to see if they can recover more than 50,000 family photos.  they don't know if they can recover the op system.  If recovery is p

  • XPS Studio 1647 graphics card

    Hi, my dell studio xps 1647 had a damage to the motherboard and I replaced it with a new one. I can move the old motherboard graphics cards to the new? Part of not changing my computer for a new XPS was because I was really happy with the original gr