Viewing 15 posts - 25,006 through 25,020 (of 26,487 total)
Well, I think that partially explains why I don't have the issue. I am an administrator on our servers. I can't think of anything other than what Microsoft...
March 18, 2008 at 3:29 pm
I'm thinking that the GROUP BY is irrelevant and that what is needed inplace of the CASE WHEN SUM(v.PurchaseAmt)/15000 < 0 ... is this
FLOOR(v.PurchaseAmt/15000)
😎
March 18, 2008 at 3:25 pm
Please explain this code snippet:
,CASE WHEN SUM(v.PurchaseAmount)/15000 <= 0
THEN 0
ELSE...
March 18, 2008 at 3:20 pm
Now, take out the group by clause and rerun it. does it still work, does it return the same result set?
March 18, 2008 at 3:14 pm
does the following work in SSMS, and if so what is the result, if not the error message.
SET @ConsultantID = '0000344'
SET @StartDt = '11/01/2007'
SET @EndDt = '10/31/2008'
--
SELECT
...
March 18, 2008 at 3:05 pm
Using a SQL Server backend for your application, any individual or group with system administration privledgs is going to be aboe to see your database structure and the data stored...
March 18, 2008 at 2:48 pm
Plus, it looks like the value you have being returned is not <= 0.
March 18, 2008 at 2:37 pm
Not from the code snippet. How about all the code, that may help in understanding what the query is doing.
😎
March 18, 2008 at 2:35 pm
Is that the actual code from the stored procedure or is that from a trace?
It might be better if you provided the code for the entire stored procedure, we might...
March 18, 2008 at 2:30 pm
Since it looks like you are doing a delete tmpTable, also try changing that to truncate tmpTable.
😎
March 18, 2008 at 2:12 pm
I think keeping or dropping the clustered index also depends on how the data is coming in. If the incoming data is already sorted based on the clustered index,...
March 18, 2008 at 2:10 pm
Just to be sure we are on the same page. When you say you delete the data in the destination table, are you doing a DELETE or TRUNCATE?
Have you...
March 18, 2008 at 1:52 pm
I would try and help, but not having an issue connecting to SSIS, so I'm not sure what help I can provide. Maybe a little more detail as to...
March 18, 2008 at 1:41 pm
Just a guess, did you know it existed a year ago?
It is awesome some of the ideas and help you can get from people here!
😎
March 18, 2008 at 1:30 pm
Viewing 15 posts - 25,006 through 25,020 (of 26,487 total)