DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Problem with "LVALUES" (Please Help - Urgent)

  1. #1
    Join Date
    Apr 2001
    Posts
    13
    My program gives me an error saying that the user_name variable is not an lvalue, but occurs in a context that requires one.

    It is delared as:
    char user_name[30+1];

    It is assigned a value as:
    user_name = "ErrtDataHandler";

    It is then passed as an argument to a PL/SQL stored pocedure.

    Can somone please help me. It's kinda urgent.


  2. #2
    Join Date
    Apr 2001
    Posts
    118
    Is this a C coding question? I'm guessing from looking at the syntax from your example.

    If so, then use strcpy or some variation to copy the string into the user_name variable.

    If not, then ignore this comment. :P

    Heath

  3. #3
    Join Date
    May 2001
    Posts
    11
    show me the error oracle is displaying , please



    Originally posted by krash23
    My program gives me an error saying that the user_name variable is not an lvalue, but occurs in a context that requires one.

    It is delared as:
    char user_name[30+1];

    It is assigned a value as:
    user_name = "ErrtDataHandler";

    It is then passed as an argument to a PL/SQL stored pocedure.

    Can somone please help me. It's kinda urgent.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width