Viewing 15 posts - 721 through 735 (of 1,241 total)
I dont exactly have SSIS 2005 handy, though in 2008 if it is not too different ...
Right click the project name in the solution explorer > properties > debugging ?(in...
November 18, 2015 at 4:59 pm
Strange... I was trying to imagine when and how this could be the case.
Data Marts are usually populated from the DW (Inmon or Data Vault), or form the DW...
November 18, 2015 at 4:21 pm
You can think of the table depicted here as merely a daily snapshot. It is based on actual records of games played. To consider only the last ten games I...
November 18, 2015 at 4:03 pm
In SQL SERVER 2008 and above you have the MERGE statement. Unfortunately that does not apply to your version of SQL SERVER. For this you should stick with the three...
November 18, 2015 at 3:43 pm
I got to wonder why create the temp tables to then only pass through a subset of those. Maybe the base tables lacks an index but I dont see the...
November 10, 2015 at 2:47 pm
I imagine you could add a click event watcher to do this in the CODE window within SSRS. I believe in 2012 you may even be able to use C#...
November 10, 2015 at 2:29 pm
Currently in our model, every table has a surrogate PK and at least one natural key enforced by a unique constrain
I am wondering about the unique constraint set around the...
August 27, 2015 at 11:45 pm
Alvin Ramard (7/8/2015)
I agree with Sean. I'd focus on getting as much of the logic...
July 10, 2015 at 4:00 pm
Just to make your code a little cleaner,
DECLARE @T AS TABLE (y INT NOT NULL PRIMARY KEY);
DECLARE @cols AS NVARCHAR(MAX)
,@y AS INT /* not used */
,@sql AS NVARCHAR(MAX);
Note that...
June 3, 2015 at 1:59 am
If you are referencing a large dataset through a linked server, especially if used multiple times in a join condition, you are better served with a temp table. Also a...
June 2, 2015 at 4:50 pm
You mention in your first post " process 500 records." I'd lile to know more what you mean by process.Are you transforming the data in the foreach loop? There is...
May 14, 2015 at 2:29 pm
...
Oh... and I almost forgot (this one is a brilliant). They have some funky "automated" way of creating their DWs but it means that most dimensions are basically cookie...
May 14, 2015 at 1:44 pm
You can also try getting the default value directly from the result of a dataset query. This is a fully dynamic way to get what you want :
SELECTDATEADD(d, -1,
DATEADD(q,DATEPART(q,getdate())-1,CAST(year(getdate()) AS...
May 11, 2015 at 12:01 am
Again, it is doing a clustered index scan (also known as a table scan) instead of using the nonclustered index you created on C6 (with no included columns) because the...
May 8, 2015 at 6:11 pm
Try DBCC OPENTRAN to view any open transaction the machine you are currently connected to.
May 8, 2015 at 6:03 pm
Viewing 15 posts - 721 through 735 (of 1,241 total)