Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8653

Greater Than > in Hana?

$
0
0

Context:

 

I have a Ms Sql Statement inside a xml file and I have a conditional with a "Greater Than" comparison, so because this within a XML File I can't use the regular syntax for "Greater Than" ( > ) then I use the (>)

 

Ms Sql Server Statement

 

<Query ID="some_query">
if ( DATEDIFF(day,@fechaVencimiento, getdate() ) &gt; 0  OR  @Consecutivo_Inicial &gt; @Consecutivo)       begin          set @Consecutivo= @Consecutivo_Inicial          set @seReinicio = 2       end</Query>

Question:

 

What would be the equivalent syntax for ( &gt; ) in Hana?

 

 

 

Thanks in advance.

 

Message was edited by: Tom Flanagan


Viewing all articles
Browse latest Browse all 8653

Trending Articles



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