Viewing 15 posts - 5,236 through 5,250 (of 11,678 total)
The best way would be to use a stored procedure, to which you pass @database as a parameter.
Inside the stored procudure, you construct a dynamic SQL statement using 3 part...
August 9, 2013 at 4:35 am
Is it necessary to duplicate all tables for each client, even if it is in the same database but in a different schema?
August 9, 2013 at 2:25 am
rupesh.rams (8/9/2013)
The transaction log for database 'mydb' is full. To find out why space in the...
August 9, 2013 at 1:38 am
The thread I mentioned gives some examples.
This article takes a lightly different approach:
SQL Server Reporting Services Using Multi-value Parameters[/url]
It uses a splitter to split the parameters, put it into a...
August 9, 2013 at 1:23 am
Essentially they do the same, but you CONVERT has an optional third parameter you can use for formatting (mostly for conversions between dates and strings).
CAST is defined in the ANSI...
August 9, 2013 at 1:21 am
The flight recorder is the log for Analysis Services.
Maybe the disk ran out of space?
August 9, 2013 at 12:58 am
A cursor is horrible horrible thing. You usually try to avoid this in SQL Server and go for a set-based solution.
This article describes a very performant function to split your...
August 9, 2013 at 12:55 am
As I read this thread, it doesn't seem to be that easy (maybe Brian used integers in his video, which is a lot easier than strings):
You need to parse the...
August 9, 2013 at 12:44 am
kl25 (8/8/2013)
Koen Verbeeck (8/8/2013)
OK, now that I see the data, I think you should have 2 fact tables, because indeed they are at two different grains.
Interesting topic. I've been...
August 9, 2013 at 12:33 am
aaa121 (8/8/2013)
What did you think about the mini dimension solution for those more...
August 9, 2013 at 12:31 am
chandra.gurrapu (8/8/2013)
Thanks for your response... Here the no.of rows are dynamic in each table...
The number of rows is not a problem.
If the number of columns are dynamic, that's a problem.
August 9, 2013 at 12:23 am
Another one of those A-HA moments, was when I discovered you could select a block of text in SSMS while holding ALT (which is also possible in other Microsoft products).
Really...
August 9, 2013 at 12:19 am
Jeff Moden (8/8/2013)
August 9, 2013 at 12:14 am
Viewing 15 posts - 5,236 through 5,250 (of 11,678 total)