Relative Content

Tag Archive for oracle-sqldeveloper

Oracle SQL developer – do not detect line breaks

I am using oracle sql developer . Whenever we run any table / view sql with blank lines in between, the sql developer ignores it and executes the query perfectly. The feature is good, problem is the query fails in actual deployment where sql plus is used.
So is there a way we can let SQL DEveloper throw error when there is line break in between ?

Adding decimal places in a select query to a sum

I have built a select query which utilises the SUM function and I’m trying to make the output show with 2 decimal places for the Settlement amount. In this example the actual STTL_AMOUNT is 29999 but I’d like it to output 299.99 so I need to add a decimal place in before the last 2 numbers. The format for STTL_AMOUNT is number(22,4)

SQL developer Query no longer Working after it was working for a long time

I am using a stored procedure in sql developer which filter is (issolved != ‘Y’) now suddnly it is not working and i have to change it (issolved = NULL) to work again as this column either Y or Null
but i wanna know what happens that makes the procedure not working after it was working for a long time ago.