Viewing 15 posts - 196 through 210 (of 381 total)
A few thoughts: is the server where you scheduled the job running at high CPU? Is the server where you scheduled the job not either the source for the data...
Russel Loski, MCSE Business Intelligence, Data Platform
January 26, 2007 at 11:23 am
I'm going to take a stab. Try:
@Message + ' FieldName to:' + isnull(Cast(Inserted.FieldName AS Varchar(10)), ' NULL')
I think that Access is updating all of the columns, even if you only change...
Russel Loski, MCSE Business Intelligence, Data Platform
January 25, 2007 at 12:17 pm
You can put your sql into an ExecuteSQL task, using the SQL Server connection as your connection.
To deal with your other issue, you will need to use global variables and output...
Russel Loski, MCSE Business Intelligence, Data Platform
January 25, 2007 at 5:56 am
Pete, you nailed something that I hadn't thought about. This query would work quickly with an index on the CPTCODE column.
Russel Loski, MCSE Business Intelligence, Data Platform
January 24, 2007 at 8:46 pm
I assumed the join was correct in the original.
Try inner join.
Russel Loski, MCSE Business Intelligence, Data Platform
January 24, 2007 at 8:43 pm
select d.field5, d.field2,
d.field6, d.crc, d.lc,
QuestionID, AnswerID
FROM (Select DialID , 1 as QuestionID, KP1 AS AnswerID
from Digits
where KP1 is not null
union all
Select DialID , 2, KP2 AS AnswerID
from Digits
where...
Russel Loski, MCSE Business Intelligence, Data Platform
January 24, 2007 at 2:20 pm
What is the correct value if the condition is false? If I read the code right, the else condition is that Last Sale Date = 0. So what is the meaning...
Russel Loski, MCSE Business Intelligence, Data Platform
January 24, 2007 at 2:15 pm
The query is slow because it requires SQL Server to do something that it isn't really built for. Basically, for every record it has to build a string. It does...
Russel Loski, MCSE Business Intelligence, Data Platform
January 24, 2007 at 1:04 pm
Is this a one time population of a table or is this a query that you are running frequently? If it is a one time population, then you aren't going to get...
Russel Loski, MCSE Business Intelligence, Data Platform
January 24, 2007 at 7:17 am
I would prefer to compare dates. You could recast the string date value back to date. Otherwise, I prefer to use the YYYYMMDD format.
Russel Loski, MCSE Business Intelligence, Data Platform
January 23, 2007 at 11:29 am
What do you think that this result will look like?
Russel Loski, MCSE Business Intelligence, Data Platform
January 23, 2007 at 11:26 am
This will work with a small number of records or where you don't need for it to work fast:
declare @PNO int
declare @OtherPCPCode varchar(3000)
create table #newPCP (
PNO int not null,
PCPTCode int...
Russel Loski, MCSE Business Intelligence, Data Platform
January 23, 2007 at 11:21 am
We had a similar problem and had to apply a hotfix:
http://support.microsoft.com/kb/814509/
Russel Loski, MCSE Business Intelligence, Data Platform
January 23, 2007 at 8:57 am
When you run the query in query analyzer you have the same security context as when the dts package failed (same NT login, same SQL login, whether the NT login...
Russel Loski, MCSE Business Intelligence, Data Platform
January 23, 2007 at 6:24 am
If Mike's solution doesn't work, try (where I put square brackets around the T-SQL key word Timestamp):
strINSERT = "INSERT INTO eCallByCallStat " & _
"(Timestamp,CallEvent,CallEventName,CallId,TelsetLoginID,AssociateData,Destination,VentData,Source,Time,SiteID,Site) " & _
"VALUES ...
Russel Loski, MCSE Business Intelligence, Data Platform
January 23, 2007 at 6:00 am
Viewing 15 posts - 196 through 210 (of 381 total)