Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

HANA Procedure error: expression cannot be used as an assignment target

$
0
0

Hi,

 

I am receiving the following error when trying to create a simple procedure:

 

"expression cannot be used as an assignment target: DOB: line 33 col 2 (at pos 1358)"

 

Here is a snippet of the code I am trying to run:

 

CREATE PROCEDURE "TEST"."HELLO"(in DOB date)

LANGUAGE SQLSCRIPT AS

BEGIN

 

    Declare C_DOB date := :DOB;

 

     WHILE.....

 

..........

     DOB := ADD_DAYS(DOB,1);

     END WHILE;

END;

 

My objective is to assign the value of DOB to C_DOB. Please kindly advise.

 

Yuveer


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>