Viewing 15 posts - 1,621 through 1,635 (of 2,645 total)
Here's another way to do it:;with cte as
(
select t.keyinstn,ratingdate, rating,
ROW_NUMBER() OVER (PARTITION BY convert(date,ratingdate) ORDER BY...
March 19, 2019 at 7:46 am
Here's one way to do it:
;with cte as
(
select distinct t.keyinstn,convert(date,ratingdate) ratingdate1
from trend t
)
select c.keyinstn,...
March 19, 2019 at 7:41 am
It's not going to make much difference to the performance but and SS.QTY_RECEIVED is not null
is not required because and SS.QTY_RECEIVED <> 0
will...
March 18, 2019 at 8:28 pm
Bruin - Sunday, March 17, 2019 11:51 AMThat sounds like a great solution any hints\examples to get me started?Thanks.
I was thinking something...
March 17, 2019 at 4:09 pm
March 17, 2019 at 6:26 am
from qnxt.dbo.memberpcp mp
join qnxt.dbo.affiliation a1 (nolock) on mp.affiliationid = a1.affiliationid
join qnxt.dbo.affiliation a2 (nolock) on mp.paytoaffilid = a2.affiliationid
join qnxt.dbo.provider p1 (nolock) on a1.provid = p1.provid
join...
March 15, 2019 at 1:13 pm
March 15, 2019 at 12:21 pm
Have you tried FULL JOIN instead of INNER?
March 15, 2019 at 10:09 am
All our scripts have a CREATE that's executed if the sp doesn't exist followed by an ALTER. That way all the security permissions are preserved. We also sometimes have comments...
March 15, 2019 at 5:10 am
SSIS can create its own system logging tableselect * from dbo.sysssislog
March 15, 2019 at 5:01 am
March 14, 2019 at 11:30 am
March 14, 2019 at 8:31 am
Another reason why you should always prefix the column names with the table name (or alias) .
March 14, 2019 at 5:48 am
You will get better performance from an UPDATE followed by an INSERT than you'll get from a MERGE.
March 13, 2019 at 8:02 am
Your primary key constraint name is the same as your table name.
Change it to: CONSTRAINT PK_CSize PRIMARY KEY (CID),
March 12, 2019 at 10:42 am
Viewing 15 posts - 1,621 through 1,635 (of 2,645 total)