Viewing 15 posts - 1,516 through 1,530 (of 3,489 total)
Oh, so you're a big fan of implicit conversion? Try it with a multi-million (or more) row table. Why not save yourself the trouble and make the parameter type match...
June 2, 2017 at 4:04 pm
You won't need the DISTINCT if you use a windowing function to remove the duplicates too.
June 1, 2017 at 11:22 pm
Use the standard ROW_NUMBER() OVER (PARTITION BY <grouping columns> ORDER BY <columns>) AS rn
to assign each duplicate a row_number and then filter for rn = 1.
June 1, 2017 at 10:27 pm
Yep, sounds like a permissions issue.
Okay, found an article here that's even better than the one I originally posted...
Execute As article.
June 1, 2017 at 10:12 pm
What are your rights in the database vs the person who can see everything? Sounds like you need a stored procedure with EXECUTE AS.
But don't take my word...
June 1, 2017 at 9:33 pm
Couldn't you model it like this?
CREATE TABLE CallsFact (
SurrogateCallKey INT IDENTITY
, CallerID INT
, CallType VARCHAR(8)
...
June 1, 2017 at 7:28 pm
Did you read Jeff Moden's article on DelimitedSplit8K?
June 1, 2017 at 5:51 pm
I used to work at a company that did healthcare data reporting. I was stupefied when I found full names, birthdates and SSNs in the database. Went straight to the...
May 31, 2017 at 6:04 pm
Remove the defaults. You need at least one that doesn't have a default value for SSRS to prompt you for values. Otherwise, the report will just run with the defaults....
May 31, 2017 at 5:56 pm
You do realize that the data types for your parameters and the field types and sizes in the underlying table don't match, right? If you want to pass multiple values...
May 31, 2017 at 3:49 pm
Sounds like you need to put a rectangle on your report and then you can put the textboxes inside of it. That way, you can arrange them like you can...
May 31, 2017 at 2:50 pm
May 31, 2017 at 1:28 am
Why not play with each one and decide for yourself? R support is already built into SQL Server.
May 29, 2017 at 11:49 pm
I got the chunks apart... So I guess it's a place to start. You need Jeff's string splitter function for this, which is here. And here's my code......
May 29, 2017 at 11:27 pm
May 26, 2017 at 11:50 am
Viewing 15 posts - 1,516 through 1,530 (of 3,489 total)