Viewing 15 posts - 2,116 through 2,130 (of 3,489 total)
Scratch all that.
You have a basic normalization problem. If you had a single column/field in your table for e-mail address, then it would probably be a trivial question. ...
January 9, 2016 at 8:25 pm
create this query:
SELECT EmailAddress, EMail1 AS Mail1
FROM #Test_table_2
UNION ALL
SELECT EmailAddress, EMail2
FROM #Test_table_2
then join that to whatever other table you need.
Normalization is a beautiful thing.
January 9, 2016 at 6:50 pm
if you could create a column in the UserPolicy table that contains the 6 characters or whatever you're matching on in a single column (or at the column values start...
January 8, 2016 at 2:27 pm
Amen to that! the reverse engineering of ERDs etc used to be one of my favorite parts of Visio... why MS decided it was no longer useful is a...
January 8, 2016 at 11:50 am
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
Viewing 15 posts - 2,116 through 2,130 (of 3,489 total)