Viewing 15 posts - 24,766 through 24,780 (of 26,490 total)
riverswillbeer (5/19/2008)
Awesome ... done deal ... Thanks sooooo much !!!!!;)
Your welcome. Just to follow-up though, do you know why I made the suggested change in your WHERE...
May 20, 2008 at 8:00 am
He should be able to if he takes the time to read your article. That is where I came up with the idea for this solution.
😎
May 19, 2008 at 9:05 pm
Can any of the values in the denominator be negative, or are all values greater than or equal to zero?
😎
May 19, 2008 at 5:03 pm
I'd do the following instead (notice change in the where clause):
select
UniqueID,
sum(case termcd when 'BM' then 1 else 0 end) as BM,
...
May 19, 2008 at 4:15 pm
Use this and what John posted to get you going:
create table dbo.TableB (
UniqueID int,
termcd char(2),
calldate datetime
)
insert...
May 19, 2008 at 3:16 pm
With VERY LIMITED test data, this is what I did and it works:
CREATE TABLE [dbo].[Table_name] (
[Key_m] [int] IDENTITY (1, 1) NOT FOR...
May 19, 2008 at 1:08 pm
Let me get this straight. You imported the data into a table with all varchar columns, and you are now trying to modify the data type of the columns...
May 19, 2008 at 12:53 pm
Matt,
Here is the code I was using to do my testing:
CREATE PROCEDURE dbo.usp_ProductPagesA @firstrow int = 1, @sort varchar(50) = 'ListPrice'
AS
BEGIN
SET NOCOUNT ON
...
May 19, 2008 at 12:51 pm
I am assuming that the data value provided is a sample of the data you are importing. Also, what error messages are you getting during the convert process? ...
May 19, 2008 at 12:44 pm
Here is one way with dynamic sql. It uses exec (@SQLCmd). There is another way using the sp_executesql, but I didn't research it yet. I would actual...
May 19, 2008 at 12:28 pm
What you are trying to do may require using dynamic sql. How is the column selected for sorting and how many columns can b this column be selected from?
😎
May 19, 2008 at 12:08 pm
Do the other Execute SQL tasks work okay?
May 19, 2008 at 11:53 am
This part of your post is critical in determining what is wrong:
Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not...
May 19, 2008 at 10:50 am
Okay, so you are using an Execute SQL task; that doesn't fully answer my question regarding your SSIS package. How is your package setup? What else is in...
May 19, 2008 at 10:48 am
Can you provide more information regarding your SSIS package? How are you executing the Sp in SSIS?
😎
May 19, 2008 at 10:28 am
Viewing 15 posts - 24,766 through 24,780 (of 26,490 total)