Hello,
In a proprietary interface that can only use ANSI SQL that connects to an Oracle 9i database I need to:
1. Get and store a date value (last_updated) from one table.
2. Get and store a date value (completed_date) from a second table.
3. Determine the difference.
In PL/SQL I would normally set the values to variables and then perform a comparison on the variables but I am constrained to use standard ANSI SQL (I am not sure if or how you can use variables in ANSI SQL).
What can you suggest, can you please give an example?
Thanks,
Michael42
In a proprietary interface that can only use ANSI SQL that connects to an Oracle 9i database I need to:
1. Get and store a date value (last_updated) from one table.
2. Get and store a date value (completed_date) from a second table.
3. Determine the difference.
In PL/SQL I would normally set the values to variables and then perform a comparison on the variables but I am constrained to use standard ANSI SQL (I am not sure if or how you can use variables in ANSI SQL).
What can you suggest, can you please give an example?
Thanks,
Michael42