Viewing 15 posts - 1,831 through 1,845 (of 13,849 total)
Rather than posting links, which some people (including me) might choose not to open, can you post using text (for DDL and data) and images (showing desired results).
October 4, 2021 at 8:08 am
ScottPletcher wrote:(Code reformatted but so that it can be read without scanning 50 feet to the right.)
50 feet? Is your browser set to Mr Magoo mode?
Hyperbole.
But, c'mon man,...
October 2, 2021 at 6:49 pm
I think you need to ask this question in an Oracle forum, as it makes no sense to me.
In SQL Server terms, I think you'll agree that it's very clear:
"The...
October 1, 2021 at 2:35 pm
Can you also post DDL and sample INSERT statements (if any) for tbl_probate_case?
October 1, 2021 at 9:29 am
(Code reformatted but so that it can be read without scanning 50 feet to the right.)
50 feet? Is your browser set to Mr Magoo mode?
September 30, 2021 at 4:57 pm
People will probably ask you to post execution plans (ideally for slow and fast executions) in order to be able to help you.
Here is that query again, in human-readable form:
September 30, 2021 at 3:52 pm
By 'generated', do you mean 'written'?
September 30, 2021 at 12:55 pm
Well you could just check the number results in the return and if it's zero hardcode the desired output.
Json is tricky like that because functionally both of those...
September 29, 2021 at 7:30 am
Automated e-mails can be generated from SQL Agent jobs, SSIS packages and using various other technologies.
I assume that's not the answer you're after, but it does answer your question, bearing...
September 28, 2021 at 3:58 pm
Well you could just check the number results in the return and if it's zero hardcode the desired output.
Json is tricky like that because functionally both of those represent...
September 28, 2021 at 2:40 pm
I can't see a question in your post. Are you blogging?
September 28, 2021 at 2:38 pm
The code looks broadly compliant to me, though with that many cascading CTEs I would expect poor performance.
This part looks like it will cause issues:
CREATE TABLE probateL1.tmpTblLegalProbateGrantCase
WITH
(
DISTRIBUTION...
September 28, 2021 at 8:32 am
solved!
1st friday : (SELECT DATEADD(DAY, DECODE(EXTRACT(DOW FROM START_DATE), 0,5, 1,4, 2,3, 3,2 ,4,1, 6,6, 0), START_DATE) third_friday FROM (SELECT date_trunc('month',current_date) START_DATE))
2nd friday : (SELECT DATEADD(DAY, 7 + DECODE(EXTRACT(DOW FROM START_DATE), 0,5,...
September 21, 2021 at 4:32 pm
Nothing in the code you posted shows how the proc is called, how the connection is opened or how the connection is closed. It may be helpful to see that.
September 21, 2021 at 4:30 pm
Viewing 15 posts - 1,831 through 1,845 (of 13,849 total)