Viewing 15 posts - 1,516 through 1,530 (of 3,509 total)
general rule of thumb with aggregates / GROUP BY.
Columns in the SELECT clause must be either aggregates (Sum, Min, Max, Avg...etc) OR they must be in the GROUP...
June 13, 2017 at 10:18 pm
SSIS package to get the file (download), then import the text file. Then schedule it using a job?
June 10, 2017 at 10:47 pm
If you added the calculated field to your dataset, then you can use it just like a normal field (as it if were in the original dataset). If not, I...
June 7, 2017 at 1:47 pm
How long is a piece of string?
Is this a one-off or do you need to import different files with the same structure?
If it's a one-off you can use...
June 6, 2017 at 11:27 pm
I'm using SSRS 2016, but I'm pretty sure this is still the same.
Open your report, and switch to design mode.
Then go under the Report menu to Then...
June 6, 2017 at 3:22 pm
I'm turning into Joe Celko... time for a break.
Please help us to help you and read this article.
June 6, 2017 at 12:41 pm
Why not just the table stuff you posted? Simple create table script, maybe a dozen inserts. Done.
June 6, 2017 at 11:55 am
Can't run a SQL statement against a picture. If you want help, provide consumable data.
June 6, 2017 at 12:03 am
I meant that...
1. Don't use that diabolical stored procedure to do something this simple. You just don't need anything near that complex. (with lots of NO LOCK / READ...
June 5, 2017 at 10:23 pm
Use an IF statement to determine if the value is 'Choice_Added', and overwrite the RowNumber value. Then filter on the very outside to eliminate the values you don't want.
June 5, 2017 at 5:48 pm
June 5, 2017 at 11:22 am
wendy elizabeth - Monday, June 5, 2017 10:43 AMSorry wrong thread.
Ha! Told ya Wendy and Diane are the same person.
June 5, 2017 at 10:57 am
Do you have a database diagram for this part of the database? It's hard to tell from the temporary tables how things are related, because there are so many foreign...
June 4, 2017 at 7:12 pm
Creating datasets is trivial. You have a connection (DataSource), and then you build a DataSet by executing a stored procedure against that DataSource and it returns your dataset. Then you...
June 4, 2017 at 10:44 am
This appears to work for the data provided:SELECT *
FROM test_table2 t2
WHERE t2.ID NOT IN (SELECT ID FROM test_table1)
AND t2.condition = 'Used';
June 4, 2017 at 12:28 am
Viewing 15 posts - 1,516 through 1,530 (of 3,509 total)