Viewing 15 posts - 541 through 555 (of 747 total)
The SQL Server service account must have permissions on that directory/file
https://www.sqlservercentral.com/forums/topic/operating-system-error-code-5access-is-denied
January 6, 2022 at 3:04 pm
Native SQL backups? Do you really have a data path of "C:\Program Files\Microsoft SQL Server\MSSQL12.OPUS\MSSQL\DATA\OPUSDATA\a488f2a0-564d-44ce-8e57-7d5425d5b798\c55b8372-9595-4dce-9b68-16f5f5466a44\00016be8-000001a9-0005"? (The guid directory names seem odd to me, but may be deliberate).
Does that directory contain...
January 3, 2022 at 9:58 pm
Deleted
January 3, 2022 at 6:58 pm
Please have a go at providing scripts instead of pictures, as previously requested.
Please provide create table scripts & insert scripts for sample data so that those trying to help you...
December 24, 2021 at 3:29 pm
One problem does stand out in the snippet -- use of most functions in WHERE clauses or JOINS prevent sargability (ability to use indexes)
WHERE ABS(T2.CALL_PRICE - T2.PUT_PRICE)...
December 24, 2021 at 3:15 pm
As was communicated in a previous post, we don't know the definitions of the CTEs your referencing. Without DDL for all underlying tables/views, and the entire query, there is little...
December 24, 2021 at 2:59 pm
So add Table1.YearId to each of the 3 select statements and group by statements.
SELECT Table1.PlayerId,
Table1.TeamId,
...
December 23, 2021 at 10:41 pm
This is an unfortunately redundant design. Table2 appears to inherently contain everything in Table1 except TeamId.
You could insert using union all, one select per position --something like:
SELECT...
December 23, 2021 at 10:01 pm
And the issue with from and join names was pointed out here also: https://www.sqlservercentral.com/forums/topic/procedure-expects-parameter#post-3964459
This appears to be one of at least four different posts about the same query. Are you...
December 17, 2021 at 2:26 pm
Appears to be a variation on https://www.sqlservercentral.com/forums/topic/procedure-expects-parameter
December 16, 2021 at 5:37 pm
To avoid ambiguity, it's better to use columname >= startdatetime and columname < enddatetime -- 2021-04-01 would appear to be the enddatetime you want in your example (assuming you want...
December 16, 2021 at 5:33 pm
You are selecting from [@IND_ORLS] & joining [@IND_RLS1], but there are no table-valued-parameters w/ those names and no table types of those names declared & populated in the procedure. And...
December 16, 2021 at 5:02 pm
You haven't posted your CTEs, just a query that appears to reference four CTEs (OPTION_LIST_NEAR_TERM_CTE, NEAR_TERM_STRIKE_MIN_MAX_CTE, TIME_CTE, & DISCOUNT_RATE_CTE), so we can't know either.
Can you post DDL for the tables...
December 13, 2021 at 8:12 pm
"I have such tables
1) UDT_CKB_SNAPSHOT - list of different items and events (items on sale) some promotions etc
2) FCSTPERFSTATIC - Forecast
3) HISTWIDE_CHAIN - Actuals"
You are being asked to provide scripts that...
December 9, 2021 at 2:15 pm
Viewing 15 posts - 541 through 555 (of 747 total)