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

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -