Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This one goes well in my program
- String sql="SELECT filed1, filed2 from table where field1=:prams";
- //But what if i want to apply to_date function to the params? Does the following statement would goes well as well?
- String sql="SELECT filed1, filed2 from table where field1=TO_DATE(:prams,"YYYYMMDD")";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement