Viewing 15 posts - 1,606 through 1,620 (of 2,645 total)
March 21, 2019 at 8:14 am
I would use NOT EXISTS, but I'm not sure if the performance would be any different.
March 21, 2019 at 5:08 am
Another way to do it with a CASE statement is to look for when there are 3 or more columns with the value NULL as there are only 4 combinations...
March 21, 2019 at 4:50 am
If you have 4 items, then to check at least 2 are not null you could do:
CASE WHEN (S155.Student_PersonID IS NOT NULL AND S160.Student_PersonID IS NOT...
March 20, 2019 at 5:35 pm
March 20, 2019 at 12:58 pm
March 20, 2019 at 12:53 pm
March 20, 2019 at 11:11 am
March 20, 2019 at 5:34 am
March 19, 2019 at 5:24 pm
This will prevent all visits that have a visit within 30 days of the previous, but it will omit blocks of close visits that might have more than 30 days...
March 19, 2019 at 5:21 pm
March 19, 2019 at 4:02 pm
If the problem is the space, you could REPLACE the spaces with an unused character (say '~') before you split the string:
myStringSplitFunction(REPLACE(PRODUCT,' ', '~'), '~')
March 19, 2019 at 1:38 pm
I am having a table with two columns like monthname and sell. I want...
March 19, 2019 at 9:58 am
Or you could use Jeff's favourite method: 😛
declare @trend table (keyinstn INT, ratingdate datetime, rating varchar(10))
declare myCursor cursor for
select distinct t.keyinstn,convert(date,ratingdate) ratingdate1
...
March 19, 2019 at 9:09 am
Or using an inline table:select c.keyinstn, c.ratingdate, c.rating
from (select t.keyinstn,ratingdate, rating,
ROW_NUMBER() OVER (PARTITION BY convert(date,ratingdate) ORDER...
March 19, 2019 at 7:58 am
Viewing 15 posts - 1,606 through 1,620 (of 2,645 total)