Viewing 15 posts - 2,131 through 2,145 (of 3,500 total)
This might be slightly off-topic, but the other auxiliary table that's super handy is a numbers table. (it can be virtual, like an iTVF) that has numbers from 1 to...
January 7, 2016 at 2:35 pm
Nothing to it. Use a Calendar Table, and then outer join it to your Events table.
SELECT c.CalendarDate, Count(e.EventID)
FROM Calendar c LEFT JOIN Events e ON c.CalendarDate = e.EventDate
WHERE c.CalendarDate>=@StartDate...
January 6, 2016 at 5:01 pm
I would start with Lynn Pettis' article[/url] on common date routines. Post back if you're still stuck.
January 6, 2016 at 9:40 am
How about
=RowNumber("Customer")
It resets every time the Customer value changes.
January 6, 2016 at 7:16 am
Sounds like you need a Tally table. Here[/url] is a link to Jeff Moden's article.
It's harder to tell without table definitions, but if you joined quantity in your query to...
January 5, 2016 at 7:10 pm
You can query Facebook with PowerBI and then once it's there, probably import that using SSIS.
January 5, 2016 at 3:31 pm
when does each 28-day period start?
you could calculate from the first of the year using DATEDIFF and then integer divide by 28 to get the 4-week period, and then group....
January 3, 2016 at 9:45 am
If you really want to learn, I would find a (maybe) simple problem from work, and create your database to solve it. Then try to incorporate everything that you're learning...
January 3, 2016 at 8:00 am
I agree... it's called "professional development"... definitely worthwhile, whether you take the exams or not.
January 2, 2016 at 1:35 pm
I don't think you can change the default date... well, the user can't.
December 29, 2015 at 5:55 pm
Do you have SQL Server Data Tools? It's not a full version of Visual Studio. That's enough to do SSIS.
December 29, 2015 at 10:53 am
NOLOCK is a no-no... don't do that unless you're aware of the nasty side effects.
December 28, 2015 at 9:12 pm
here's a hint:
GETDATE() returns the current date.
December 28, 2015 at 8:24 pm
Right-click your date parameter > Parameter Properties.
Available Values > Get values from Query , then choose the dataset and the value and label fields.
Same as any other dropdown in SSRS.
December 28, 2015 at 7:28 pm
I think it's an XOR thing...
Either you can select a date (no list of values)... and you can use the Calendar control
OR
You can select a date from a dropdown.
you can't...
December 28, 2015 at 5:09 pm
Viewing 15 posts - 2,131 through 2,145 (of 3,500 total)