Skip to content
Advertisement

Oracle SQL Developer dynamic date table name

I’m hoping to dynamically reference last Fridays date in the weekly sales tables in Oracle SQL Developer i.e. SELECT * FROM Sales_DDMMYY I can do this in SQL Server (DECLARE / SET / EXECUTE) but haven’…

SQL Server INNER JOIN and GROUP BY

In sql server I’m trying to group by each sales people some infos as follow: I have 2 tables: Positions and Clients In Positions table, I have the following columns: Client_Id, Balance, Acquisition_Cost and in the Clients table I use the following columns: Client_Id and Sales_person. I want to group by Sales_person (Clients table) the Client_id, Balance, Acquisition_Cost (Positions table)

Extracting text between a character and space

I have this text and I want to extract the id of collector that is bolded knowing that the id is not fixed it May 5 digits or even three digits EX: what is the best approach to do that by oracle functions Answer I think you need REGEXP_SUBSTR as follows:

Oracle APEX Custom Login Authentication

I have been following this tutorial : https://www.youtube.com/watch?v=ngOm5uBP1uE&feature=emb_title. I followed all the codes with my needed variables and they are as follows : -Creating Table …

Query with empty or one row only

I’m using an oracle DB and I need to know if certain value is on myTable (it can be 0-N times), but i’m using a software that does some tasks with each row of the query output, so, my result should be empty when I have no value in myTable (so the software will do nothing) or one row when

Advertisement