Viewing 15 posts - 496 through 510 (of 1,554 total)
Here's the quick solution:
select o.name from sysobjects o where o.type = 'v'
and o.name not in ('syssegments', 'sysconstraints')
Haven't looked too close on them, but if these are flagged as userobjects, it...
May 16, 2006 at 8:34 am
Untested, but I think this should do the trick.
select t.ThreadID,
t.ThreadName,
t.ThreadDescription,
x.UserName,
x.maxDate
from (
-- latest post for each thread with name and date
select p.ThreadID, u.UserName,...
May 16, 2006 at 4:08 am
You should have the feed not trying to insert already existing data.
It can be done in several different ways, but the common factor is to modify the feeds insert statement.
/Kenneth
May 16, 2006 at 3:55 am
As with most things, it's a matter of habit.
Things we know are 'easy', things we don't know are 'difficult'.
There's no rocketscience about that.
I...
May 16, 2006 at 1:35 am
This isn't necessarily the wrong section..?
As for checksum goes - you have to be aware that checksums aren't 100% failsafe.
There is always the possibility that although there are different values...
May 15, 2006 at 7:51 am
Oh, every time we fall for the trap of relying on implicit defaults, it will error - sooner or later.
As for 30...? Nope... Doesn't seem like it in my case...
May 15, 2006 at 6:48 am
Here's one way.. also assumes no double spaces are present...
-- Sample on how to count # of occurences of a single char
-- or pattern from a text...
May 15, 2006 at 6:31 am
If the purpose is to retain partial loginfo during a transaction that is rolled back, there is a way to use a table variable as placeholder whithin the transaction. Since...
May 15, 2006 at 6:02 am
This construct isn't so good, since placing a function on the datecolumn may prevent indexes to be used.
Please see the link Gift Peddie posted on best practices on dates and...
May 15, 2006 at 5:48 am
As said above, this is an old 'caveat' with the legacy outer join syntax compared to ANSI joining, that has been around since day one ANSI joins was available.
The primary...
May 15, 2006 at 5:37 am
This thread is almost two years old
Perhaps you'd better start a new thread with your specific problems, you environment, what errors you get...
May 15, 2006 at 1:54 am
Agreed.
MS has for many years now recommended that old legacy join syntaxes be replaced and rewritten in ANSI style. I wouldn't be too surprised if in the next version of...
May 5, 2006 at 1:17 am
Hmm... yes, there is. Updated stats on it just for kicks, but still the same results.
However, there may very well be some skewing going on, since I now noticed that...
May 5, 2006 at 1:07 am
Very unscientific, quick and dirty on my desktop, but there seems to be consistent anyway...
Out of a table with ca 3.7 million rows, do the 'extract only digits' task on...
May 4, 2006 at 8:46 am
This is not correct.
Using BETWEEN in this scenario will give you everything from midnight 2006-05-01 up to and including midnight 2006-05-02.
/Kenneth
May 4, 2006 at 7:26 am
Viewing 15 posts - 496 through 510 (of 1,554 total)