Viewing 15 posts - 2,461 through 2,475 (of 3,233 total)
Funny you mention that. When I was typing my response, I initially started with 'Outside of removing your hard disks and shipping them ....' but then I figured...nah. I guess...
January 18, 2007 at 4:42 pm
Has there been any software/stored proc/trigger changes made? If so, search your trace for these new items and see how they are impacting your server. If not, continue on below.....
You...
January 18, 2007 at 4:11 pm
Use the ExecuteSQL task to execute the stored procedure. Use a rowset output parameter to store the result set in a global variable. Upon success of the ExecuteSQL task, run...
January 18, 2007 at 4:05 pm
No backup = No recovery. Sorry.
January 18, 2007 at 3:04 pm
What kind of spacing issues are you referring to? You should be able to execute a DTS package by using master..xp_cmdshell 'DTSRUN /~Z0x39210848502ADD5...etc'. If you need to be able to...
January 18, 2007 at 2:47 pm
"How can I tackle this programmatically without manually adjusting the sproc every quarter???"
I would create your stored procedure so that it accepts the existing plan_version and new plan_version as a...
January 18, 2007 at 2:39 pm
Go into the DTS designer and select Package>>Save As... When the 'Save DTS Package' window appears, click on the 'Location' drop down list and select 'Visual Basic File'. This will...
January 18, 2007 at 2:10 pm
This should work for you but you will definately need to run this through and look at the execution plan.
UPDATE Ins
SET ToSynch = 0
FROM tbl_NSP_Inspection Ins
INNER JOIN (
...
January 18, 2007 at 1:53 pm
Your assumption is correct. When looking at using file groups to spread your I/O out, you need to look at the physical disks. Spreading I/O over multiple physical disks allows...
January 17, 2007 at 3:17 pm
Koln,
You say that AccountNo is your Primary Key? Do you have a Primary Key constraint created on that column or are you attempting to enforce uniqueness through your application/front-end? ...
January 16, 2007 at 10:54 am
With that few number of duplicates, I would recommend the following apprach (in pseudo code):
1. Create @table or #table temporary storage table to mimic the Contact2 table schema.
2. INSERT into...
January 15, 2007 at 3:11 pm
Thanks Remi.
Yes, you are correct. The ID2 column must not have any gaps for this one to work and ID2 must be numeric. Thanks for pointing that out. I guess...
January 15, 2007 at 2:51 pm
Here's another way if you have a static numbers table. If you don't, this may be a good time to create one!
DECLARE @table TABLE (ID1 int,ID2 int)
INSERT INTO @table
SELECT 85678,...
January 15, 2007 at 2:34 pm
James is correct, there are many different approaches to doing this. How large is your table? How many dupilcates to exect to DELETE? Is there a Primary Key or unique...
January 15, 2007 at 2:18 pm
This is a duplicate post. Please continue thread here:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=336989&post=true
January 15, 2007 at 2:03 pm
Viewing 15 posts - 2,461 through 2,475 (of 3,233 total)