Viewing 13 posts - 1 through 13 (of 13 total)
Yes, that did it.
Thank you very much.
March 10, 2015 at 3:45 pm
Still only shows the two rows and not the one that has nothing.
Here is my code. Not sure if this is what you meant.
SELECT Table1.Name, ISNULL(COUNT(Table2.ID),0) AS CNum, ISNULL(SUM(Table2.Value),0) AS...
March 10, 2015 at 3:38 pm
Thanks for responding. Yes, this is inherited and I didn't create the table. I am working on a product feed and need to have the size and color in the...
January 17, 2012 at 8:04 am
Perfect!! Thanks to both of you for helping me with this. It works perfect for what I need.
January 10, 2012 at 9:41 am
manjuke (1/9/2012)
declare @table1 as table (
ProductId int
,SKU varchar(10)
,[Description] varchar(50)
)
insert into @table1
...
January 10, 2012 at 7:42 am
LutzM (1/9/2012)
Join the two tables and pivot the data using the CrossTab method as described in the related link in my signature should do the trick.
Thanks for the info but...
January 10, 2012 at 7:41 am
Thanks for the help. I read your article on cross tabs but the examples look like they are from 1 table. I have two tables I am trying to put...
October 25, 2010 at 3:33 pm
Great! That worked to add the number at the end.
Thanks.
October 24, 2008 at 11:58 am
When I try to execute this I receive the following error:
"Syntax error converting the varchar value 'MasterList' to a column of data type int."
Any suggestion what this error is?
Thanks.
October 24, 2008 at 11:50 am
Thanks for the info. This is what I am currently doing (except I am not using a view) I am just creating each table with a script similar to this.
What...
October 24, 2008 at 10:45 am
Unfortunately, the software we use doesn't allow scripting. It just asks for the table name and email field to use. I can't update this program to allow stepping through the...
October 24, 2008 at 9:06 am
Thanks for the info. The only reason I am doing this is from another program limitation that can only process 10,000 records at a time. It is an e-mail campaign...
October 24, 2008 at 7:26 am
Viewing 13 posts - 1 through 13 (of 13 total)