Viewing 15 posts - 1,276 through 1,290 (of 14,953 total)
The missing table is caused by a flaw in your Coalesce statement when you assign a value to @TableList.
Try this in a proof-of-concept database:
CREATE TABLE tmp1 (
C INT);
GO
CREATE TABLE tmp2...
July 10, 2012 at 8:10 am
ChrisM@Work (7/10/2012)
Jeff Moden (7/9/2012)
July 10, 2012 at 7:54 am
You can use VB expressions in SSRS Report Builder. Samples here: http://technet.microsoft.com/en-us/library/ms157328.aspx#VisualBasicFunctions
I don't remember VB well enough to build the expression myself, but what you need to do is:
1....
July 10, 2012 at 7:26 am
David McKinney (7/10/2012)
I strongly suggest then that you keep doing it your way 😉
Yep.
(Wouldn't go so far as to call it my way. More like Codd's and Date's way....
July 10, 2012 at 7:08 am
Data analysis is its own science, with its own complexities, and very, very few people are educated and trained in it, and most of those are in the Intelligence field....
July 10, 2012 at 6:47 am
David McKinney (7/10/2012)
J Livingston SQL (7/9/2012)
Andy Hyslop (7/9/2012)
It's a little extra work, but I always try to add a new column 'in the right place' where applicable. I concede that...
July 10, 2012 at 6:36 am
SQLKnowItAll (7/9/2012)
Jeff Moden (7/9/2012)
July 10, 2012 at 6:32 am
tim.cloud (7/9/2012)
True, more maintenance. However, I had no idea what maintenance was until I starting partitioning. That will drive you nuts. 🙂
Very true.
July 9, 2012 at 2:31 pm
Plenty, if I'm not mistaken. Linked servers, SSIS, other ETL tools, even OpenQuery, should all work. Found an ODBC driver for MySQL in a simple Bing search (Google...
July 9, 2012 at 2:30 pm
tim.cloud (7/9/2012)
Why not just create a view that has the columns in the desired order, and just add anything new to the physical table at the end?
That's the same solution...
July 9, 2012 at 2:28 pm
Not Exists is usually faster, and has the advantage that you can use multiple columns in it for the validation. Not In is usually better for hard-coded sets of...
July 9, 2012 at 1:55 pm
At a place I used to work, the IS manager (who was the DBA before they hired me) had a policy that every table had to have an ID column...
July 9, 2012 at 1:52 pm
Are you using triggers for the audit, or something else?
If you are using triggers, can you add "IF HOST_NAME() != 'MyWebServer' RETURN;" at the beggining of the trigger? (With,...
July 9, 2012 at 12:38 pm
I've had hybrid solutions for that kind of thing.
Read today's data and perform on-the-fly calculations (running totals, running averages, et al) on that.
ETL data prior to today and store pre-calculated...
July 9, 2012 at 12:33 pm
I've also had to pre-calculate data like running totals, running averages, and so on, in data warehouses populated by scheduled ETL processes. After all, that's a large part of...
July 9, 2012 at 12:13 pm
Viewing 15 posts - 1,276 through 1,290 (of 14,953 total)