Viewing 7 posts - 1 through 7 (of 7 total)
"as shown in the Venn diagram in Figure 5" should this be Figure 3?
"INNER JOIN operation to return part 2 of Figure 6" should this be Figure 4?
November 21, 2011 at 1:04 am
A very clear and informative article. A minor point is that the Figure numbers appear to be incorrect in the INNER Join Operator and OUTER JOIN Operator sections
November 16, 2011 at 1:35 am
Nice idea.
I have used xp_cmdshell to pipe debug to logfile when transactions fail
declare @msg varchar(255)
set @msg = 'echo ' + 'debug text here' + ' > c:\log.txt'
exec...
July 22, 2010 at 1:15 am
With Rollup can be replaced with Rollup
SELECT
Product_Name,
Scheme_Name,
Invest_Amount,
broker_commission,
-1 AS IsSchemeTotal,
-1 as IsGrandTotal
FROM @GroupTest
Union ALL
select
isnull(Product_Name, 'ZProductTotal'),
isnull(Scheme_Name,'ZTotal'),
sum(Invest_Amount),
SUM(Broker_Commission),
GROUPING(Scheme_Name) AS IsSchemeTotal,
GROUPING(Product_Name) AS IsGrandTotal
from @grouptest
group by rollup (Product_Name,Scheme_Name)
ORDER BY Product_Name,
Scheme_Name,
IsSchemeTotal,
IsGrandTotal
To...
July 13, 2010 at 1:40 am
An alternative is to use a temp table created by the proc which will be visible to the trigger
June 9, 2010 at 2:26 am
You can check for the existence of an identity column and then exclude it from the insert list as well as not altering the temp table definition
The insert statement...
January 22, 2008 at 2:53 am
{call cp_reportConsult(?,?)} in SQL pane of Microsoft query.
January 9, 2007 at 12:35 am
Viewing 7 posts - 1 through 7 (of 7 total)