Viewing 15 posts - 7,606 through 7,620 (of 14,953 total)
Lynn Pettis (12/1/2009)
jdurandt (12/1/2009)
@Lynne - I agree 100% : Set based processing is the answer in 99% of cases. What I was saying though is that, in...
December 1, 2009 at 1:43 pm
Add the parameter, and then add that to the Where clause for the query. "Where name = @TableName", assuming "@TableName" is the name of the parameter.
December 1, 2009 at 1:42 pm
jdurandt (12/1/2009)
I have a full head of hair, but it is...
December 1, 2009 at 1:22 pm
What are you getting with regards to IO stats? Specifically, does the new server end up with more physical reads than the old server, and less logical reads, on...
December 1, 2009 at 1:19 pm
What it does is declare a cursor that select the table and column and size, from the system tables. It builds a command to alter the column into either...
December 1, 2009 at 1:15 pm
john scott miller (12/1/2009)
December 1, 2009 at 12:49 pm
Instead of doing it with a parameter for the table name, if you really need to do a whole database all at once, try this:
declare Cmd cursor local fast_forward for
select...
December 1, 2009 at 12:45 pm
Please don't double-post. You already posted this question in another forum on this same site.
December 1, 2009 at 12:36 pm
Not sure what you mean by "what the issue is here".
December 1, 2009 at 12:05 pm
You might be able to get data out of them with xp_readerrorlogs. It's an undocumented extended stored procedure that's included with SQL Server. Search for it online, you'll...
December 1, 2009 at 12:01 pm
I recommend changing the trigger to fire on Update or Delete, and to use the deleted table (instead of inserted). That will save performance on inserts. It gives...
December 1, 2009 at 11:59 am
It will probably take a while to verify. That's a fair chunk of data.
On the other hand, the last thing you want is to go to restore the database,...
December 1, 2009 at 10:04 am
I'm assuming you're talking about a "one-true-lookup-table" solution. Your sample doesn't include any values, just column names, but the usual thing in this case is that you'd have one...
December 1, 2009 at 9:30 am
Just to add yet another drive-by-appreciation: Thanks for the site, Steve. May not be 100% your creation, may not be "your passion", may not be a lot of things,...
December 1, 2009 at 9:14 am
ldstpete (12/1/2009)
That looks like it will work well. I am just starting to get into SQL Server administration recently so I appreciate your willingness to help!
You'll love this site. ...
December 1, 2009 at 9:11 am
Viewing 15 posts - 7,606 through 7,620 (of 14,953 total)