Viewing 15 posts - 376 through 390 (of 3,500 total)
use a cursor to loop through the tables that match your criteria and pass the table to some dynamic SQL and use BCP OUT? Or use PowerShell?... maybe... <spitballing>
March 31, 2022 at 1:58 am
SELECT ...
FROM t
WHERE (EMPLOYEE_ID != 123 AND WORKSITE_ID != 22)
March 30, 2022 at 7:57 pm
Now to understand it!
Maybe this article will help:
Introduction to T-SQL Window Functions - Simple Talk (red-gate.com)
March 29, 2022 at 4:20 am
Welcome!
Good explanation of the problem! Very helpful. Since you're new, please read this article. It's just a user's manual of sorts for here. Forum Etiquette: How to post data/code...
March 29, 2022 at 2:15 am
3199 points and you can't even post sample data?
Use LEFT() or RIGHT() to trim off the characters you don't want.
March 28, 2022 at 8:01 pm
Seems like you could do a main/subreport.
Main is based on Student, and then the subreport is based on attendance in a span of time (it has the StudentID as a...
March 28, 2022 at 12:51 am
Did you drop a tablix in and then drop the fields into the columns of the tablix? I've never ever had SSRS just not return any data based on a...
March 24, 2022 at 2:29 am
It sounds like you could be filtering based on domain username, and if you're using impersonation or whatever to run SSRS, then that's getting lost. Strictly conjecture though.
Could you post...
March 23, 2022 at 8:27 pm
Can you execute the stored procedure through SSMS? What error message do you get?
March 22, 2022 at 11:20 pm
I never hard code a filter like that. You can use everything but the WHERE clause as the source for your report, and then pass the filter part in the...
March 17, 2022 at 2:50 am
Okay, let me try that again.
Since you're new... one thing that's extremely helpful to know is in Jeff Moden's article about how to ask a question so that it gets...
March 11, 2022 at 11:49 pm
I don't know, but the first place I would look is at Rob Sewell & Chrissy LeMaire's dbaTools (using PowerShell). I'd be surprised if it weren't built in.
March 11, 2022 at 3:36 pm
Is this a for real question or a homework assignment?
You could import the data to another table, and join the two on ColumnA from your sheet and show the value...
March 10, 2022 at 9:37 pm
running total of 1 divided by ROW_NUMBER() over some partition? That's what the sequence {1, 0.5, 0.33, 0.25, 0.2} implies. Where's the problem? If you really had to, you could...
March 5, 2022 at 7:06 am
Viewing 15 posts - 376 through 390 (of 3,500 total)