Viewing 15 posts - 1,426 through 1,440 (of 7,614 total)
Don't forget about views: if you prefer that some people see a combined result as a table, you can use a view so they can see it as table, without...
July 8, 2021 at 9:47 pm
Have you tried PAGE compression rather than going all the way to a columnstore format?
July 8, 2021 at 9:38 pm
Agreed, you don't need nor want a separate table.
If you're having performance issues with the existing table generating your result using the PIVOT, then let's fix that issue, not create...
July 8, 2021 at 8:34 pm
I'm with Phil. Whenever I've seen this error it relates to the DEFAULT db specific for the user (or group).
July 8, 2021 at 8:24 pm
The indexes could be critical. Would you be able to post the DDL for the tables and the SQL queries?
SQL 2016 could be a big help in another way, it...
July 8, 2021 at 3:26 pm
Exactly. Just this:
SELECT MIN(StartDate) AS MinDate
FROM Schedule
WHERE WorkCenterID = 'LAY-W' AND ScheduleID = '5'
July 7, 2021 at 8:56 pm
If there are potential index(es) on col_a and/or col_b, then I'd stick with the first style. If not, the second is ok too.
July 7, 2021 at 2:58 pm
OK. By default you'll always read the last committed value, using standard READ COMMITTED (hence the name, I guess :-)).
...or you will be blocked if RCSI is not enabled.
Your...
July 6, 2021 at 10:31 pm
Yes, if userB uses WITH (NOLOCK) on the table(s), or READ UNCOMMITTED isolation level
But Scott, "IT Researcher" asked "is it possible for userB to read last committed values" and...
July 6, 2021 at 6:24 pm
I'd just say "by accident". If they want more details, they'll ask.
July 6, 2021 at 4:33 pm
Tell them.
Don't beat around the bush. Don't try to cover up. Just say it. "I messed up. I took the server down. Here's what I did by accident. I'm...
July 6, 2021 at 3:15 pm
Consider when ,userA begins transaction , does 'update','insert','delete' but commit transaction is pending. now, whether is it possible for userB to read last committed values ?
Yes, if userB uses...
July 6, 2021 at 2:57 pm
Apologies, Scott. You're correct. You were talking only about the non-clustered indexes... but so what? Same differences. You're using twice as much disk space for those and for why? ...
July 6, 2021 at 3:44 am
I'd say it's still better to use 50% just to be safe. For a non-clus index that is used only to get the clus key to do a...
July 5, 2021 at 10:44 pm
Viewing 15 posts - 1,426 through 1,440 (of 7,614 total)