Viewing 15 posts - 1,621 through 1,635 (of 7,429 total)
Could be hardware. What is the currently load in Task Manager and shutdown any services such as Virus Scan while installing and those you don't expressly need that are eating...
August 13, 2004 at 3:11 pm
A few other factors that get overlooked a lot or OUTPUT paramters. Many times I will do an insert or update and not care to get a recordset back so...
August 13, 2004 at 2:11 pm
Glad could help, sorry thou took me so long to realize what was going on in the query with the ANDs and ORs.
August 13, 2004 at 1:59 pm
Oops I see the issue now. Silly me if you do this
WHERE
(ExpiryDate != '20040630' AND CONVERT(varchar(10), InsertDate, 112) != '20040310') AND
(ExpiryDate != 'Edate2' AND CONVERT(varchar(10), InsertDate, 112) != 'Idate2')...
August 13, 2004 at 1:15 pm
Which is better is not a real point Andy. What matters is for this situation which works best. You still have to test each. All should be considered alternatives and...
August 13, 2004 at 9:09 am
Just another option
UPDATE
T1
SET
MinDate = T2.MinVal,
MaxDate = T2.MaxVal
FROM
WT_Total_Purchases T1
INNER JOIN
(
SELECT
optioneekey,
offeringperiodkey,
min(create_dt) MinVal,
max(create_dt) MaxVal
FROM
WT_ESPP_FACT
WHERE
eventkey IS NULL
GROUP BY
optioneekey,
offeringperiodkey
 
August 13, 2004 at 7:54 am
From SQL BOL
The SQLVerify method does not perform a restore of any SQL Server database or transaction log.
To the best of my knowledge without building an app real quick, it...
August 13, 2004 at 7:26 am
If you do
select * from tempdb..syscolumns where [id] = object_id('tempdb..#temp')
after your alter you will see the value has been updated to rflect the third column.
What I believe is happening is...
August 12, 2004 at 5:05 pm
SOrry see your point should be
WHERE
(ExpiryDate != '20040630' AND CONVERT(varchar(10), InsertDate, 112) != '20040310') AND
(ExpiryDate != 'Edate2' AND CONVERT(varchar(10), InsertDate, 112) != 'Idate2') AND
(ExpiryDate != 'Edate3' AND CONVERT(varchar(10), InsertDate, 112) !=...
August 12, 2004 at 4:50 pm
Actually I think the where would be more like
WHERE
(ExpiryDate != '20040630' AND CONVERT(varchar(10), InsertDate, 112) != '20040310') OR
(ExpiryDate != 'Edate2' AND CONVERT(varchar(10), InsertDate, 112) != 'Idate2') OR
(ExpiryDate != 'Edate3'...
August 12, 2004 at 2:29 pm
Can you walk me thru how you set up each step and how the next query is determined?
Also is the next tasks query changing in any way?
August 12, 2004 at 1:55 pm
1) Look at the @@ROWCOUNT variable.
In you QA code add SET NOCOUNT ON to the begin. Delcare a variable of a large enough numeric type (most likely int will work),...
August 12, 2004 at 1:51 pm
To take a little further you can create a base role and and exteneded role which is also a member of the base role. Example where this would be seen.
HR...
August 12, 2004 at 1:41 pm
You cannot do this with an Execute SQL Task in general cases. However what is it that is it you are actually after? Number of record affected, the data returned...
August 12, 2004 at 1:25 pm
Viewing 15 posts - 1,621 through 1,635 (of 7,429 total)