Viewing 15 posts - 1,396 through 1,410 (of 3,500 total)
I have a column, Column3, that has the expression =iif(Fields!ARR.Value=1, Fields!COLL.Value,0). Is it possible to sum this expression...
January 5, 2018 at 5:43 pm
Thanks Sue. I'll have a look.
I may not have been thinking... probably the really simple answer is "Mark the optional parameters as optional!" Yeah, "here's my sign!" =)
January 5, 2018 at 5:35 pm
Could you explain what this does? (Is this Oracle?)SELECT
@Od = :a2,
@Do = :a3,
@TipSobe = :a1,
@KodaCenika = :a4;
January 2, 2018 at 8:46 pm
It's probably not a syntax issue. It's a permissions issue. If it were a syntax issue, the code would stop and you'd get an error message that the T-SQL "statement...
January 1, 2018 at 11:28 am
Welcome aboard!
since you appear to be new here, you owe it to yourself to read this article:
December 31, 2017 at 12:33 am
Note to self: last status check per computer
Without data, it's harder to see what's going on, but you could try this pattern. I'm using AdventureWorks2014 for data.
December 28, 2017 at 8:56 am
Why would you want to do that? I can see shrinking a database if you have to move it and space is at a premium. But that's hopefully a rare...
December 27, 2017 at 7:16 pm
Remove the s.StateDuration from the GROUP BY. You're SUMMING that... Your query should look like this:SELECT s.AgentName
, s.ReasonCode
, Sum(s.StateDuration) AS 'StateDuration'
FROM (
December 27, 2017 at 6:33 pm
This sounds like something you'd want to schedule with a job instead of using a trigger... well, at least to my mostly ignorant way of thinking. Then you could find...
December 7, 2017 at 3:32 pm
I just did this earlier today. I downloaded the most popular firstnames and lastnames from some website... so they're in their own tables. Then I did this (appended a partial...
December 1, 2017 at 3:46 pm
November 30, 2017 at 4:35 pm
Not really. As a matter of fact, you don't need SQL Server at all to do any of this - as long as the data is already in Excel. The...
November 30, 2017 at 12:38 pm
There's a standard way to deal with a many-to-many relationship - a junction table. Think Invoices and Invoice LineItems and Products.
CREATE TABLE LineItem(
InvoiceNo INT,
ProductID...
November 29, 2017 at 9:01 am
Sounds like you need something like
(Kid LEFT JOIN Suggestions) LEFT JOIN Complaints
But then you'd need KidID in Suggestions AND in Complaints. Otherwise, how do you know which...
November 19, 2017 at 6:31 am
Viewing 15 posts - 1,396 through 1,410 (of 3,500 total)