Viewing 15 posts - 421 through 435 (of 9,643 total)
Since the Key and Certificate reside in the other database you need to change context to that database. I believe you can do it using Exec sp_executesql something like...
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
May 5, 2015 at 11:58 am
Can you provide the DDL for the table?
Is the Company Name in the same table?
You could do something like this:
IF OBJECT_ID('tempdb..#company', 'U') IS NOT NULL
BEGIN;
...
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
May 5, 2015 at 11:24 am
If you are on a domain the most secure method is to use Windows Authentication only when you install SQL Server. If you have to have mixed authentication, 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
May 5, 2015 at 11:11 am
I'd suggest changing the query to get the trace file name from:
select convert(varchar(1000),path) as path from sys.traces where id = 1
To
select convert(varchar(1000),path) as path from sys.traces where is_default =...
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
May 5, 2015 at 11:01 am
Lynn Pettis (5/4/2015)
Jack Corbett (5/4/2015)
Please help me fix...
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
May 4, 2015 at 11:55 am
Jeff Moden (5/4/2015)
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
May 4, 2015 at 11:54 am
And for back to back posts to the thread. I really can't stand it when an OP says something like:
Please help me fix this poorly performing query, but without...
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
May 4, 2015 at 6:52 am
FYI, Erland Sommarskog has a new set of articles on Error Handling in T-SQL that y'all might be interested in. It starts here, http://www.sommarskog.se/error_handling/Part1.html.
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
May 4, 2015 at 6:50 am
There really isn't a way to fix this problem without a code change. The issue is that ALL the data is being brought across the pipe to filter down...
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
May 4, 2015 at 6:49 am
I'd put together a trace to verify that this is the issue. I don't see any way that can be the ONLY statement in the batch because it can't...
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
May 1, 2015 at 1:11 pm
According to this BOL article, you need ALTER TABLE on the table the trigger, and according to this BOL article, db_ddladmin does not have ALTER TABLE.
I tend to create specific...
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
May 1, 2015 at 1:06 pm
What is the security context the linked server is using? Unless that user has pretty elevated permissions it can't access the statistics in order to find the best execution...
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
May 1, 2015 at 12:57 pm
I'm not sure how this query can be a blocker with the NOLOCK hint. When I run a query using the NOLOCK hint the only lock taken is a...
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
May 1, 2015 at 12:51 pm
Wow Lynn that's one of the best one I've seen in a long time. Give me the code so I can pass my final. You never know, the...
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
April 28, 2015 at 1:49 pm
Steve Jones - SSC Editor (4/15/2015)
http://radar.oreilly.com/2015/04/rebooting-a-1970s-satellite-with-modern-software-and-hardware.html
And here I am thinking this was a MASH reference, http://mash.wikia.com/wiki/Walter_%22Radar%22_O%E2%80%99Reilly😀
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
April 20, 2015 at 7:57 am
Viewing 15 posts - 421 through 435 (of 9,643 total)