Viewing 15 posts - 106 through 120 (of 518 total)
Re-enable, drop, or skip that index.
November 8, 2010 at 10:36 am
Enabling compression on every single table blindly? That's a pretty bad idea. Remember that compression will ALWAYS increase CPU overhead, and won't always reduce space used. Adding page level compression...
November 8, 2010 at 10:35 am
For two separate queries, something like this:
CREATE TABLE #EmployeeInfo (
ID INT,
...
November 5, 2010 at 3:19 pm
Are you using a static login on your linked server? Impersonating? If you log into the remote server directly using those credentials, are you allowed to select from the table?
November 5, 2010 at 3:04 pm
Michael L John (11/5/2010)
You cannot alter a column to add/remove the identity property. You would have to create a new column completely and then drop...
November 5, 2010 at 11:15 am
What happens if you try to force WITH CHECK in the create statement?
November 5, 2010 at 11:06 am
I wonder if Gail has a 6th sense and cringes every time a database shrinking post pops up...
Anyway, the reason your tempdb is 20 gigs is because there were big...
November 5, 2010 at 9:31 am
Michael L John (11/5/2010)
I still think that leaving the clustered index off will be faster when performing the insert....
November 5, 2010 at 9:28 am
True, but then you'd need to modify the app to use read_uncommitted to be able to read the changed value if it's in mid transaction, and you said you can't...
November 5, 2010 at 9:25 am
Are you doing this WITH NOCHECK? If you create a FK with nocheck, then this flag gets set (as it hasn't validated existing data and therefore can't be trusted).
I assume...
November 5, 2010 at 9:24 am
What you're looking to do isn't really possible without a schema change.
Adding the InUse column is a great idea, but you said you can't do that.
In essence what you're trying...
November 5, 2010 at 9:14 am
The locking system really hasn't changed between 2005->2008, since there's really not many ways it can change. If a view is taking an exclusive lock on a table in 2005,...
November 5, 2010 at 8:58 am
Can you post the query it's hanging on?
Sometimes creating better indexes can solve locking/blocking issues, and in some cases using (nolock) is needed. I'd be willing to bet some indexing...
November 5, 2010 at 8:43 am
Michael L John (11/5/2010)
1. Use BCP to copy the data out.
2. Create the new table, without the identity. Leave it as an integer(or a bigint),...
November 5, 2010 at 8:38 am
GSquared (11/4/2010)
Set them up as sequential steps in a single job.If you need to add a delay in between, set that up as step in between.
Yep - include a WAITFOR...
November 4, 2010 at 9:27 am
Viewing 15 posts - 106 through 120 (of 518 total)