oracle - Sysdate in text sql -


i´ve got problem, want have sysdate in text, where-statement looks this:

where optxt_text '%mahnstufe 2 29.06.2016%'    , (reverse(rpad(reverse(optxt_belnr),3))) in ('kag','kre','ksr') ; 

is there way replace "29.06.2016" sysdate?

sorry bad english.

this should trick:

where optxt_text '%mahnstufe 2 '+convert(nchar, getdate(), 104)+'%'  

Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -