Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

How to write XSJS Select Query with input parameters

$
0
0

Hello Experts,

 

I am creating a xsjs file and in that file I am trying to write a Select Query based on a Calculation View

I have tried it the following way:

var query = 'SELECT TOP 100 \"Name\", \"Address\", \"City\", \"Country\" FROM \"_SYS_BIC\".\"Test.HL/AddressView\"'

    + 'WITH PARAMETERS(\'PLACEHOLDER\' = (\'$$P_Name$$\', \' Akhil \'),'

  + '\'PLACEHOLDER\' = (\'$$P_City$$\', \' Lucknow \'))';

But it gives me the "Mixed spaces and tabs error".

 

How should I write XSJS Select Query with input parameters?

 

Regards,

Rohit


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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