Viewing 15 posts - 11,026 through 11,040 (of 14,953 total)
Performance differences aren't the reason to chose one over the other. Purpose is the defining characteristic that separates procs from triggers.
Do you have a specific issue that you're trying...
February 10, 2009 at 11:40 am
Bob Hovious (2/10/2009)
February 10, 2009 at 11:37 am
Create a query that selects the company IDs/names/whatever that you want files for. The idea is one row per file to be created.
Use that in SSIS to create a...
February 10, 2009 at 11:23 am
Kit G (2/10/2009)
binko (2/10/2009)
I can't believe I just read all 122 pages of this thread! 🙂
I understand. Makes you think you've accomplished something! 😀 At least I did...
February 10, 2009 at 11:19 am
Is it running into a deadlock?
February 10, 2009 at 11:11 am
Books Online and http://www.msdn.com have data on how to use DDL triggers to audit database changes. Look them up in there, you'll get what you need.
February 10, 2009 at 11:09 am
There's another parameter that might help, @query_result_separator. It's char(1), and defaults to a single space. If you change that, it might help.
February 10, 2009 at 8:58 am
Default trace will have some of that.
If you want more, you pretty much need to set up DDL triggers and log the changes. That's pretty easy to do.
February 10, 2009 at 8:54 am
The difference is that reorganizing an index just defragments the index, while rebuilding the index creates a fresh copy of it, and updating the statistics gives SQL Server an idea...
February 10, 2009 at 8:51 am
SQL Server translates "between" into the other at runtime. No difference except possibly readability.
February 10, 2009 at 8:42 am
Clever solution. I like it. Quite elegant. And the usual argument about the uselessness of the Pivot command is bypassed by having the columns be the Row_Number...
February 10, 2009 at 8:37 am
You could use a series of Case statements.
select
case
when Val1 >= Val2 and Val1 >= Val3 and Val1 >= Val4 and Val1 >= Val5 then Val1
when Val2...
February 10, 2009 at 8:30 am
Viewing 15 posts - 11,026 through 11,040 (of 14,953 total)