Skip to content

Tag: oracle

Oracle SQL Select Only 5 Digit Row in a Column [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 1 year ago. Improve this question SLNO Column select only 5 digit row Answer Please use length function of or…

Date Conversion Issues ORACLE SQL

this is going to be a totally newb question but my google-fu isn’t landing me anything timely so I figured I would ask you Trying to do this query: But the predicate column is formatted as such: I’m guessing my TO_CHAR and CAST isn’t sufficient due to the error: Anyone happen to know off the…

call oracle function with parameters

I started to learn pl/sql.I have problem with functions.I created a function like this I want to call this function like this select GET_RANK_INFO(‘12345′,to_date(’10/03/2019′,’dd/mm/yyyy’),null) from dual; but it gives error like that the number of argument types invoked i…

Fetch the difference in result in Oracle

I have two tables table_one and table_two. table_one has incomplete records while table_two has all records I want to fetch the difference in each date id_date, however i cant get results in a date …

ORA-01861: literal does not match format string use oracle SQL

I have data field in oracle database, i need to update my data field and use add_months function to add 3 more month as show below, my table name psm_voucher. then I try update query as below but fail Your kinds help is much appreciated. Answer As date in your table is stored as a string, you will need to