Advertisement
vim_fans

Untitled

Sep 14th, 2021
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. // This one goes well in my program
  2. String sql="SELECT filed1, filed2 from table where field1=:prams";
  3.  
  4. //But what if i want to apply to_date function to the params? Does the following statement would goes well as well?
  5. String sql="SELECT filed1, filed2 from table where field1=TO_DATE(:prams,"YYYYMMDD")";
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement