Viewing 15 posts - 48,931 through 48,945 (of 49,566 total)
ODBC? Since you say the DSN worked. Not ideal, I know, but as a work around....
December 6, 2006 at 1:49 am
Try using the SQL OLE DB driver, instead of the SQL Native Access Client driver. I don't know how well the native client works to SQL 2000.
Nice to see another...
December 6, 2006 at 1:32 am
If all else fails, contact Microsoft PSS. They'll be able to read the stack dume and (hopefully) find the cause and a solution.
December 6, 2006 at 1:16 am
In 2005 it's better to use the dm views sys.dm_exec_sessions and sys.dm_exec_requests than sysprocesses. They're a lot better documented for starts
December 5, 2006 at 10:47 pm
Thanks for the suggestion, yes, whenever I checked the queryplan from the QA, the remote query always showed 100% cost.
That's normal. Remote queries are intensive. what I meant by bad...
December 5, 2006 at 5:15 am
Possibly multiple calls to the remote data source, depending on the evecution plan.
No cardinality estimates available for the query optimiser, hence a large possibility of a bad plan.
There are probably...
December 5, 2006 at 4:08 am
Only way to do that is to create a new table, copy the data over, drop the old table, rename the new. Then make sure that you replace the constraints...
December 5, 2006 at 3:07 am
As Robert said, truncate is logged. It's known as a minimally logged transaction (or at least that's the term I've heard). If it wasn't logged then you wouldn't be able...
December 3, 2006 at 11:10 pm
That works, the problem with it is that it prevents any index usage, if you have an index on f1 or f2.
Reason been it's seen as a function on a...
December 3, 2006 at 10:57 pm
What specifically are you thinking of when you say 'non-logged transactions'?
As far as I know, in full recovery mode, all transactions are logged, and datbase mirroring only works in full...
November 29, 2006 at 11:23 pm
No bulk update, and I would hazard a guess that it's not the logging that's slowing your proc down.
Is there any chance of getting someone to add an index? on...
November 29, 2006 at 6:48 am
Absolutely, yes. Cursors are massively inefficient.
Again this is untested, but I think it should do the same as the cursor. I'd be very interested in how long it runs.
November 29, 2006 at 5:02 am
No merge statement. You'll have to write seperate update and insert statements. Something like this
Update table2 set f1 = table1.f2*0.1
FROM table1 where table2.f1=table1.f1 and table1.f1=20
INSERT Into table2 (f1, f2)
SELECT f1,...
November 29, 2006 at 4:03 am
Could you maybe post thr structure of you tables, some sample data and an indication of what you're trying to achieve?
As Sergiy said, conditional joins is not somethign that should...
November 29, 2006 at 3:48 am
It looks a little wierd, but this is what you want. A not in for 2 fields.
Select table1.* from table1 LEFT OUTER join table2 on table1.f1=table2.f1 and table1.f2=table2.f2
WHERE Table2.f1 is...
November 29, 2006 at 1:53 am
Viewing 15 posts - 48,931 through 48,945 (of 49,566 total)