Viewing 15 posts - 256 through 270 (of 1,193 total)
June 6, 2017 at 9:11 am
June 6, 2017 at 8:33 am
Ok, there are a few points here.
1) The performance problem isn't surprising, since the potential approach I mentioned isn't going to perform well (as I noted originally).
June 5, 2017 at 10:37 am
The problem with your query as it stands is the scope of your t2.[brand]='sanyo' and t2.[condition]='used'
Right now you have that as part of the WHERE...
June 4, 2017 at 10:52 am
To directly answer your question, it should not work with OR. Let's step through the logic 🙂
"X OR Y" evaluates TRUE in the following cases:
1) Only...
June 3, 2017 at 2:29 pm
Ok, so I finally got a chance to look at this again.
There are a couple ways of modifying the strictly-speaking-unsafe queries to make them safe that don't result...
June 2, 2017 at 5:21 pm
Just based on what you've said here it sounds like making that column in the destination table an IDENTITY column would be the simplest.
If there are reasons that...
June 2, 2017 at 1:57 pm
June 2, 2017 at 12:11 pm
Yes, you must specify WITH (SNAPSHOT) on the table to use that isolation level with a memory optimized table.
So:
set transaction isolation level repeatable...
June 2, 2017 at 11:42 am
SELECT REPLACE(CAST(@string AS...
June 2, 2017 at 11:16 am
June 2, 2017 at 9:34 am
June 2, 2017 at 9:13 am
I'm curious about the desired results.
Particularly, why is the conditional_cumulative for ID=1 given as 0, but for ID=6 it is NULL?
I don't see any differences between...
June 2, 2017 at 8:35 am
To just add to what others have said, the BETWEEN is working correctly.
You're storing these values as strings, not numbers.
It's not that trailing zeros are being...
June 2, 2017 at 8:31 am
Viewing 15 posts - 256 through 270 (of 1,193 total)