Viewing 15 posts - 4,051 through 4,065 (of 9,643 total)
Thanks, and you are welcome. Be sure you understand how it works before you implement it though. You need to be able to maintain it. I'm also...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 12, 2009 at 9:03 am
Are they connecting to the server using Windows Authentication or SQL Authentication? If SQL then you won't get NT User Names.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 12, 2009 at 8:59 am
Running Repair without knowing what the problem was was probably a mistake. See Paul Randal's blog post here.
Normally with corruptions you will want to restore from good...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 12, 2009 at 8:57 am
This will work although you might want to do it in more then one pass:
SELECT
fullname,
STUFF(
...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 12, 2009 at 8:27 am
Roy Ernest (10/12/2009)
Steve Jones - Editor (10/9/2009)
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 12, 2009 at 7:55 am
Can you post at least pseudo code for the trigger?
Sergiy, is close, but because you said it is an insert trigger you can't use the deleted table. You can...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 12, 2009 at 7:45 am
Thanks for the support guys. I'm just uncomfortable with self-promotion. Of course, until I have 1000's of readers I guess I have to.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 9, 2009 at 3:49 pm
You might be interested in these articles:
Sending Multiple Rows to the Database From an Application Part I[/url]
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 9, 2009 at 3:01 pm
Duh, I didn't run a test for when the id doesn't exist in the table already, and in that case (I substituted 0 for 10) the try catch is...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 9, 2009 at 2:54 pm
I'm sure someone else will have more wisdom to share than I, but since it is a unique index it would be an index seek to check for the dupe...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 9, 2009 at 2:49 pm
Don't know how you'd do it in 2000. In 2005 sys.triggers has an is_disabled column. I don't see anything in sysobjects that tells you.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 9, 2009 at 2:15 pm
One issue you will run into is that the sysjobhistory table is purged regularly and only keeps a certain # of total rows and certain # of rows per job.
Do...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 9, 2009 at 1:58 pm
torpkev (10/9/2009)
wow.. nice thanks..just out of interest.. how did you get this? sql profiler?
Yup. I love profiler (on a dev instance of course). I actually think I have...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 9, 2009 at 1:48 pm
Melton (10/9/2009)
Jack Corbett (10/9/2009)
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 9, 2009 at 1:44 pm
Here's the query that SSMS uses to retrieve that information:
SELECT
log.name AS [Name],
ISNULL(log.default_language_name, N'') AS [Language],
l.alias AS [LanguageAlias],
...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 9, 2009 at 1:39 pm
Viewing 15 posts - 4,051 through 4,065 (of 9,643 total)