Viewing 15 posts - 8,566 through 8,580 (of 14,953 total)
I would seriously look into using an Identity column and partitioning the table based on the year. That'll be the easiest and most robust solution. If you do...
August 26, 2009 at 8:32 am
No. Additional pages usually just means it won't fragment as rapidly next time. Should have just about zero impact on selects and deletes, and might improve the speed...
August 26, 2009 at 8:27 am
I could be mistaken, but it looks to me like this part:
DECLARE @my_count int, @client_id varchar(10)
SET @my_count = @@ROWCOUNT
SET NOCOUNT ON
/* ------------------------------------------------------------------------------ */
ONE_MORE_TIME:
IF (@my_count > 0)
GOTO START_ONE_MORE_TIME
ELSE
GOTO ALL_DONE
Will...
August 26, 2009 at 8:22 am
scsfdev (8/23/2009)
Can someone tell me
1. which T-SQL keywords use more time than others? I want to know the list.
2. If you have any links for this, please share me.
Currently,...
August 26, 2009 at 8:17 am
I like the idea of a stripped down version of Windows for this purpose more than the idea of SQL Server having to support hardware drivers, Active Directory, booting, internet...
August 26, 2009 at 7:53 am
To those who have checked the suggestion out, "thank you".
The more the merrier, so if anyone else can head that way and vote on it, it would be appreciated.
August 26, 2009 at 7:44 am
You're welcome.
August 26, 2009 at 7:36 am
ALTER DATABASE dbname MODIFY FILE ( NAME = currentname, NEWNAME = newname )
All that kind of stuff comes under Alter Database in Books Online.
August 26, 2009 at 7:35 am
RBarryYoung (8/25/2009)
My sixth day in the hospital, I'll get transferred to rehab tomorrow. The back/leg pain has been gone for 4 days, but my right...
August 25, 2009 at 2:48 pm
If you store the XML as varchar(max) instead of as XML, you could use Replace to add line-breaks after certain tags. Would that do what you need?
August 25, 2009 at 2:32 pm
Command-line plus Windows scheduler is the simplest and doesn't cost anything.
August 25, 2009 at 2:07 pm
xp_readerrorlog is the main way that gets done. It's an undocumented, unsupported method, but it's what's most common.
I've put in a request to Microsoft to document it or support...
August 25, 2009 at 2:05 pm
You mentioned a linked server. Network traffic might make a difference. Lots of things might. Have you tried tracking CPU, memory and I/O use during the job?
August 25, 2009 at 2:01 pm
You'd have to use the Current Security Context option. Or explictly list the logins in the top half of the window.
August 25, 2009 at 1:53 pm
Login mapping is the first thing that comes to my mind.
Do you have a "Use this login when ..." set up in the security for the linked server?
August 25, 2009 at 1:52 pm
Viewing 15 posts - 8,566 through 8,580 (of 14,953 total)