Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: HANA Project Editor vs Studio SQL Editor

$
0
0

Hi Kc, actually no not a typo:

 

For this statement the SER03 is a value enclosed by 2 single quotes as per filter syntax:

 

t_objk_proj = CE_PROJECTION(:t_objk_sn, ["OBKNR","EQUNR", "TASER"], ' "TASER" = ''SER03'''); 

 

 

For this statement SER03 is a column reference(defined using CE_CALC) and I have enclosed by double quotes.

 

t_objk_proj = CE_PROJECTION(:t_objk_sn, ["OBKNR","EQUNR", "TASER", CE_CALC(':ser03', NVARCHAR(5)) AS"SER03"], ' "TASER" = "SER03" ');

 

Note :ser03 is a NVARCHAR(5) variable with value SER03.

 

Thanks

Peter


Viewing all articles
Browse latest Browse all 9165

Trending Articles