Viewing 15 posts - 10,216 through 10,230 (of 14,953 total)
Can you provide a table definition, some sample data, and a sample of what you want the output to look like from the sample data?
I'm having a little trouble visualizing...
March 31, 2009 at 1:41 pm
Jack Corbett (3/31/2009)
Steve Jones - Editor (3/30/2009)
Overhearing something isn't harassment. If they say something, like...
March 31, 2009 at 1:38 pm
I've had a basically psychotic person stalk me at work, does that count? I didn't even have to complain about that one, because she was doing the same to...
March 31, 2009 at 12:59 pm
Putting something in the Where clause will take more processing power than using the updated columns function.
March 31, 2009 at 12:44 pm
That's generally best done in the underlying query. Do you have that?
March 31, 2009 at 12:36 pm
If you need to find out which table in a database has a certain column, you can use something like this:
select
(select name
from sys.tables
where object_id = columns.object_id), *
from sys.columns
where name...
March 31, 2009 at 12:29 pm
You can use a unique index. The constraint will actually create a unique index. That's how it works.
I can't tell from the original post if it's included in...
March 31, 2009 at 11:50 am
My wife and I own a 2006 Ford Taurus and a 1999 Mazda Protege. They are both good cars.
The Protege gets about 27 mpg city, close to 50 highway....
March 31, 2009 at 7:54 am
I would say there's always a precise reason for a computer to fail, but not always a clear one. 🙂
Glad you found the cause. Were you able to solve...
March 31, 2009 at 7:23 am
What you need to do is trace the deadlocks and find what's competing with what. The deadlocks portion of Books Online has instructions on how to do that. ...
March 31, 2009 at 7:19 am
Try this:
SELECT *,
isnull(
(select min(t2_ts)
from tbl2
where act2 = a.act1
and t2_ts between dateadd(second, 30, a.t1_ts) and dateadd(second, 120, a.t1_ts)),
(select max(t2_ts)
from tbl2
where act2 = a.act1
and t2_ts between a.t1_ts and dateadd(second, 30, a.t1_ts))) as...
March 31, 2009 at 7:07 am
Nah. I do miss stuff. Challenging me is a good thing. 🙂
March 30, 2009 at 10:09 am
Santa Ana (3/27/2009)
If i place a NOLOCK for an update on a row (Update triggered by the background process) Say Transaction 1
If there is a ROWLOCK for...
March 30, 2009 at 8:59 am
Two simultaneous updates to the same row of the same table isn't a deadlock. Would have a block, and resolve the updates sequentially, but it's not a deadlock. ...
March 30, 2009 at 8:58 am
I think I created a Facebook account once several years ago. Haven't logged in since.
I do have a LinkedIn account. I've signed in a few times in the...
March 30, 2009 at 8:53 am
Viewing 15 posts - 10,216 through 10,230 (of 14,953 total)