Viewing 15 posts - 196 through 210 (of 381 total)
I can't think of any way to do this other than brute force. You need a list of computers on your network. You need a user that is in each...
January 29, 2007 at 5:03 am
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...
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...
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...
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.
January 24, 2007 at 8:46 pm
I assumed the join was correct in the original.
Try inner join.
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...
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...
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...
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...
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.
January 23, 2007 at 11:29 am
What do you think that this result will look like?
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...
January 23, 2007 at 11:21 am
We had a similar problem and had to apply a hotfix:
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...
January 23, 2007 at 6:24 am
Viewing 15 posts - 196 through 210 (of 381 total)