Viewing 15 posts - 21,121 through 21,135 (of 26,484 total)
... and then I really wanted to add "And I'm sure that during your undergraduate and graduate studies you had to know how to do independent research. This is...
May 7, 2009 at 6:28 am
May I also suggest you take the time to read about these things in Books On-Line. It is FULL of useful information that may answer many of your questions....
May 7, 2009 at 6:25 am
Looks like a permissions issue.
May 6, 2009 at 10:23 pm
And now it also works for an empty table. Just ran a test with the code here at home.
May 6, 2009 at 5:28 pm
And with that, Bruce, you can also remove the TOP 1 as shown below:
create table dbo.UserStats (UserID int);
insert into dbo.UserStats
select 1 union all select 2 union all select 3 union...
May 6, 2009 at 4:45 pm
The compression is being done on the fly, as it is being written to disk. The compression occurs in memory faster than the writes to disk, this results in...
May 6, 2009 at 4:40 pm
Good catch Bruce. I wasn't testing with enough values. Mind isn't quite on it at the moment.
May 6, 2009 at 4:29 pm
Florian Reischl (5/6/2009)
May 6, 2009 at 4:15 pm
Well, if you really want to know, I think you should read this The Flip Side.
It will give you a very good idea of why you should provide as much...
May 6, 2009 at 4:12 pm
Alex Prusakov (5/6/2009)
May 6, 2009 at 4:05 pm
Original code:
BEGIN TRANSACTION
SELECT * FROM UserStats WHERE UserID = @UserID
IF @@ROWCOUNT = 0
BEGIN
INSERT INTO UserStats (UserID) VALUES (@UserID)
END
COMMIT TRANSACTION
What I would do:
insert into UserStats
select
from
...
May 6, 2009 at 4:00 pm
I saw the OP's reply before I saw your warning. Obviously the force was not with us at the time.
May 6, 2009 at 3:35 pm
Technically, I'd say yes. You may want to consider licensing the other server on a per CPU license as well.
May 6, 2009 at 3:30 pm
Alvin Ramard (5/6/2009)
Alvin Ramard (5/6/2009)
Lynn Pettis (5/6/2009)
Alvin Ramard (5/6/2009)
Lynn, let me know if you understand the OP's last reply in the thread about the rolling 12 months. I don't...
May 6, 2009 at 3:24 pm
Viewing 15 posts - 21,121 through 21,135 (of 26,484 total)