error identifier not valid when executing a Ref cursr

I'm ORA00904: 'MARKETING': identifier invalid... and it drives me crazy!
Here is my sql code...

Varchar2 (500) StrTitle;
TYPE RefCurCusts IS REF CURSOR;
rec_ref_custs RefCurCusts;
strCusts varchar2 (500);


StrTitle: = 'MARKETING ';

OPEN FOR Rec_ref_custs
' Select distinct b.account_number, b.marketing_rep_name, c.customer_name, a.meter, a.mappole, a.feeder, b.last_or_corp_name, b.house_number, b.street_direction, b.street_name, b.street_suffix, max (odate) (b.account_number partition) last_called, n.message_type, c.list_name

Of srs.current_outage_calls o, tlm.customer_electric b, srs.notification_list n, SRS. NOTIFIABLE_CUSTOMERS_VW c, srs.est_customer_outages a

Where c.SERVICE_ADDR_NUMBER = b.SERVICE_ADDR_NUMBER and substr (b.meter_number, 2, 6) = a.meter and b.service_point_end_date is null and o.meter (+) = a.meter and n.list_name = c.list_name and c.list_name = ' | StrTitle;


LOOP
SEEK rec_ref_custs INTO strCusts;
EXIT WHEN rec_ref_custs % NOTFOUND;

StrBodyHTML: = StrBodyHTML | ', ' || strCusts;

END LOOP;


CLOSE Rec_ref_custs;


----------
Help, please!
Thank you

Fuse_5a wrote:
Why didn't think of this? I was struck by a moment stupid and my brain is fried!

Thanks a lot for your help :)

No problem.

If your question is resolved, please mark it as answered so that people stop to check to see if there are more answers to give.

Tags: Database

Similar Questions

  • Switch to the correct encryption certificate I get the error: "Key not valid for use is specified state."

    Used
    Now cannot open encrypted files.

    When you try to pass the correct encryption certificate I get the error:
    "Key not valid for use is specified state."

    See this http://answers.microsoft.com/en-us/windows/forum/windows_7-security/keeping-passwords-secure-microsoft-policy-on/39f56ef0-5d68-41ad-9daa-6e6019c25d37

    It is as it's supposed to as an anti theft precautions. I mean that data is encrypted, if somebody stole your hard drive and the hard drive boots and the other account it can receive data.

    If you not export recovery certificates and encrypting the data, you cannot redo the decryption.

    http://Windows.Microsoft.com/en-us/Windows/back-up-EFS-certificate#1TC=Windows-7

    If it's a default domain recovery agent. admin area. If it's home, to look for recovery certified you have exported.

    But third-party tools are there if you can remember old password the is to encrypt you can recover. But they are not free... and premium software is not be recommended or guided through support free forum due to the effort of preventing unnecessary advertising.

    You can do you own research about recovering data... just try to get you using the favorite search engine... "Restore access to encrypted EFS format files" or "Advanced EFS Data Recovery.

    Many more free guides will be available... Just keep in mind this is not a method to escape... you must remember your old password at least for decryption in the case where you export a certificate.

  • I use Windows Live Mail and when I access the contacts screen I get an error message "Not responding" when I try to access anything whatsoever.

    I use Windows Live Mail and when I access the contacts screen I get an error message "Not responding" when I try to access anything whatsoever.

    Hello Brenda,.

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

     

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • tells me that my 25 product key is not valid when I try to activate. What should I do?

    tells me that my 25 product key is not valid when I try to activate. What should I do?

    Which product you are trying to activate, Windows 7 or Microsoft Office (Word, Excel etc.).

    Have you tried to restart by phone?

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

    However, the requirements for the media upgrade is that you have an operating system already eligible such as Windows XP or Vista installed to use it. Since the Windows 7 end user license agreement.

    15 UPDATES. To use upgrade software, you must first be licensed for the software that is eligible for the upgrade. After the upgrade, this agreement takes the place of the agreement for the software that you upgraded. After upgrade, you can no longer use the software that you upgraded.

    So, if you are always denied, you will just have to reinstall Windows XP or Vista and let it do the verification of eligibility.

  • In the face of "the device associated with this extension or the dial number is not valid" when you use DX80 telepresense phones

    Hi team,

    We have EX and DX series telepresence as endpoints agent. But DX series phones are facing issue "the device associated with this extension or the dial number is not valid" when checking in the agent. EX works very well. Both phones are properly recorded in CUCM.

    Can you please help me out here to solve the problem.

    Thanks in advance,

    Sisi.

    In my case, we tried to do a few different modifications here and there on the DX650 but never managed to do work.  Randomly, I was able to connect to the fineness with the DX650 as my camera, then my colleague could not connect to the Finesse with his 9971 as his camera - (keep in mind this was in an environment of model and it was just her and me as agents).  Since I saw this strange behavior and doesn't do not sense, we rebooted the server CCX. Once she is back to the top, we were also well able to connect successfully and had not had the problem since.

    Thank you

    EK

  • Script error does not respond when I use Adobe Stock...?

    I get a script error does not either when searching for photos, or when I try to download.

    A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger or let the script.

    Script: resource://gre/modules/commonj...scripts/kwift. FFJETPACK.min.js:1

    Hello

    Did you try any other browser or try to reset the browser and then check?

    You can also view Stock troubleshooting: FAQ: how to solve problems with images of Stock?

    Hope that helps!

    Kind regards

    Sheena

  • Identifier not valid error

    I will create the following table and when I run below select it I get this error

    Error from the 1 in the command line:
    Select FVal in B_FRA2
    Error in the command line: 1 column: 7
    Error report:
    SQL error: ORA-00904: "FVAL": invalid identifier
    00904, 00000 - '% s: invalid identifier '.
    * Cause:
    * Action:

    How FVAL is not valid? It is defeined as a column and as part of the primary key.
    Select FVal From B_FRA2
    
      CREATE TABLE "XYZ"."B_FRA2"
       (     
      "Domain" VARCHAR2(10 BYTE), 
         "TabId" NUMBER(5,0), 
         "ColId" NUMBER(5,0), 
         "FraNM" VARCHAR2(8 BYTE), 
         "FVal" NUMBER, 
         "Flbl" VARCHAR2(200 BYTE), 
          CONSTRAINT "FRA2_PK" PRIMARY KEY ("Domain", "TabId", "ColId", "FraNM", "FVal")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255  NOLOGGING 
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"  ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS" ;
    Thank you

    you have created the names of columns that is case-sensitive.

    Two options:
    (1) drop the table, re-create it without the double quotes. (best option)
    (2) request the table like

    select "FVal"
      from B_FRA2
    

    I'd go with the first option.

  • REF InsertedVI of high school still not valid when using VI Server

    I'm trying to access subpanel controls (in an executable file) via the server of VI, but he doesn't seem to be allowing me to get a valid reference to the inserted VI (1026: VI reference is invalid).  If I use the same code in the executable itself, it works fine.

    The executable file and the VI that I use to try to get a reference to the Secondary VI is attached.

    Any ideas why this happens?

    OK, I see the problem, VI references are local to the instance of LabVIEW that generate them. When you read the VI reference, you get the correct numeric value (as evidenced by the fact that it is zero). However, in the development environment from which you access the executable, the reference is not valid. This reference is only valid in the environment of the executable. What you need to do in the executable is to get the name of the VI in high school, when you insert it and store that name in a FGV. Then from your remote application, read this FGV - and you will have the name of VI.

    Mike...

  • Error message: "the security certificate has expired or not valid" when signing into emails

    original title: it is message apear signin to my email (the security certificate is expired or not valid) my windos xp professional version - what can I do

    It is message apear signin to my email (the security certificate is expired or not valid) my windos xp professional version - what can I do

    Chances are that your system clock is bad - check your regional settings in the control panel and make sure that your region, time, date, and year are correctly configured.

  • 0x8007000d the data is not valid when which a file name.

    I just got a new computer with Windows 7.  I transferred all my music to the new machine and have incountered a couple problems.  I use a program called winamp to play my music and that works very well; However windows media player does not recognize more than half of music tags that winamp is to see very well.  When I go into the file & try to update the information by adding an artist or track # I get the following error: 0x8007000d the data is not valid.  Also when I run Windows media player it sucks to the top of my processor speed b/c its continualy "downloading information for an unknown artist" is a brand new macine w / very few additional programs. I have a deck of cards, Winamp, and Windows.  I'm always EMU does not download toolbars.  Music is a big part of my computer, and it becomes very frustrating.  I don't want to install i-tunes!  Help

    Hi Kishvens,

    Welcome to the Microsoft Answers Community Forum site!

    In order to solve your problem, please let us know what are the types of file, with which you have a problem? If it's MP3 or any other format

    There are some third-party tools that will help you recreate the corrupt tags.

    For more information, suggest you check the mentioned below for relationships, where the customer's problem solved.

    http://social.technet.Microsoft.com/forums/en-us/w7itpromedia/thread/4b362563-88d8-4814-9ae3-f98e21375af2

    http://social.technet.Microsoft.com/forums/en-IE/w7itproinstall/thread/fd434d22-8765-44DB-8B17-2257a3619255

    I hope this helps solve your problem!

    Thank you best regards &,.

    Calogero - Microsoft technical support.
    Visit our Microsoft answers feedback Forum
    http://social.answers.Microsoft.com/forums/en-us/answersfeedback/threads/ and tell us what you think

  • I can do a recovery drive, but it is not valid when I try to use it to restore or freshen up my PC.

    Upgrade to Windows 8 Pro 64 bit of Windows 7 Pro 64 bit. After experiencing a few problems with graphics drivers AMD (missing tabs) I wanted to refresh the PC, or, if this does not work, restore to the default values.

    Using the included utility, I can do a recovery on a USB disk. In total approximately 223 MB files. No errors.
    When I try to restore/PC Refresh, however, there are "some files are missing," even if the recovery disk is connected. After you remove the USB and reconnect, the error is "the inserted media is not valid."
    Why can't I make a recovery disk valid?
    When I try to restore/PC Refresh, however, there are "some files are missing.

    You may need to restore the boot first files?  There are advanced options to make this...

    Apparently, this message is intended for your scenario.   Who would have thought?

    http://www.intowindows.com/how-to-reset-or-refresh-Windows-8-without-DVD/

    (BING search engine for)
    "some files are missing" Windows Recovery
    )

    Otherwise, my tack (curiosity) would be to try to get more information on the missing files, perhaps by looking for files changed and readable log files.

    HTH

    Robert Aldwinckle
    ---

  • reviews - type of powershell script script error is not valid for OS null

    I use the comments script manager to run the script on a newly cloned VM Windows Powershell. In my main workflow, I call several workflows VM (upgrade tools, vm stop, move DS, etc.) whose use: attribute called type newVM VC:VirtualMachine. I added a new secondary workflow to run the Script to run as a guest VM. I did like the others under workflow and related virtual machine of the VC:VirtualMachine parameter to the newVM. Also limited the parameters of user name and password. I can run the subworkflow run the Script in guest VM by itself without any problem. However, when I run the main workflow which is the integrated subworkflow, I get this error: powershell script type is not valid for OS null

    Yes there is, when editing a workflow schema in Basic on the left side is a tool of sleep.

  • Script error: property not valid value operation

    (in FormCalc)

    I have a form with multiple pages.  The first two are a graph and the other 8 diagrams.  Diagrams have fields of number to the entry measures taken from an inspection process.  The graphic form I have a button to fill in the chart with information from diagrams.

    The click event of the button first retrieves the information from the diagrams and transfer them to the chart.  He is then supposed to change the font color depending on whether the readings are within limits (black for good, red for the worse).

    However, when I go in the preview PDF tab, enter test data in diagrams and click populate, I get an error that I don't know how to fix.  I was not able to find something on the Internet about it.

    Any help would be greatly appreciated.  Here's what's on the screen of the error:

    Script failed (language formcalc; context is)

    XFA [0] form [0] .topmostSubform [0]. LHChart [0]. Button1 [0])

    script =...

    Error: The property not valid value operation; Police is not a default property

    I found the solution to my problem.

    I had the code in the target fields as well as the button trying to change color of font, based on imported figures.  I deleted the code in the target areas and leave the code in the button field and everything worked right.

    Thanks again for everyone's help.

  • URL is not valid when I start private browsing.

    Whenever I start a private browsing session, the error message:
    "This URL is not valid and cannot be loaded" appears.

    I tried to disable all add-ons and boot in safe mode, but that
    did not help at all. All solutions?

    This thread seems to have the solution: https://support.mozilla.org/en-US/que.../906369

  • Registration code not valid when you try to register

    Open my new dashboard to Woot today and after having downloaded the software update, I tried to save the dashboard. It doesn't let me do, say the Registration Code provided on the dashboard (in the news on the device) is not valid. I tried to register and associate with Chumby account and when it does not work since the original registration page. Neither work. Please tell me how to fix. Thank you. Woot, it is a whole new product so previously renovated registered should not be a problem. Thanks for any help.

    Thanks Tom611. I actually downloaded the update of the firmware/software before even saving. It ends up being an issue wih trying to record with an e-mail that I have used to sign up for the Sony Forum (Chumby tips sent me here when I was doing research on the dashboard before buy you). No matter what they did through phones help if they couldn't do so that I can register (they weren't sure if it was a problem with my email, the registration code, user name, etc.). I finally decided to try to save the email from my husband, and that ended up working. Yay! Now, I stayed too late playing with him. Thanks again - I appreciate really only provide you with such a quick response & recommendation!

Maybe you are looking for