Viewing 15 posts - 3,766 through 3,780 (of 9,644 total)
Check out the permissions section in the BOL entry for sys.columns. BOL is a great resource and can answer most of your questions.
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
November 23, 2009 at 8:09 am
What you can do does depend on your permissions as well. In addition to Profiler you can also do something like this immediately after running the reports:
SELECT
...
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
November 23, 2009 at 8:07 am
fn_trace_getinfo will give you the information, but querying sys.traces actually gives you more information in a more readable format (you don't have to know what the property numbers mean because...
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
November 23, 2009 at 8:03 am
How are you populating the Reporting Database? If through a daily load you could make it a read only database and then I believe the hints will be ignored.
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
November 23, 2009 at 8:00 am
I'm going to venture a guess it is an ANSI_PADDING issue. Try this query on th 2008 box:
SELECT
DATABASEPROPERTYEX('Personnel', 'IsAnsiPaddingEnabled ') AS DB_ANSI_PADDING,
...
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
November 23, 2009 at 7:57 am
The best way to handle this is to split the parameter passed in and put the values into a table or use a table-valued function and then join on 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
November 23, 2009 at 7:43 am
jcrawf02 (11/23/2009)
Gianluca Sartori (11/23/2009)
Too much talk about steak: I had to have one for dinner!This was my steak last saturday. Still alive.
Is that all you ate? I notice no side...
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
November 23, 2009 at 7:09 am
Finally caught up on the food talk. Love steak, always ask for it medium in a restaurant because I usually get closer to medium rare. You can't beat...
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
November 20, 2009 at 2:35 pm
YSLGuru (11/20/2009)
Jack Corbett (11/20/2009)
I'm a fan of option 1 in your case, even though Database Mail is asynchronous,...
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
November 20, 2009 at 2:30 pm
I have written a couple of blog posts about problems with database mail that may help. You can read them here and here.
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
November 20, 2009 at 6:55 am
All the above answers are correct. This is a failing in database mail in my opinion. I have a blog post about this issue here.
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
November 20, 2009 at 6:47 am
There is a role, DatabaseMailUser, in msdb that you can put users in.
I'm a fan of option 1 in your case, even though Database Mail is asynchronous, I just don'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
November 20, 2009 at 6:32 am
You have a couple of options:
1. Use an expression in the query editor to ignore the parameter if empty string. Something like this:
="Select columns from table" & IF(Parameters!PostCode.Value...
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
November 20, 2009 at 6:20 am
Sure, you need 2 foreign keys and you add them like this:
ALTER TABLE dbo.docfol
ADD
CONSTRAINT FK_docfol_document FOREIGN KEY (docid) REFERENCES dbo.document (docid),
CONSTRAINT...
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
November 19, 2009 at 7:36 am
What is the error you get?
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
November 19, 2009 at 7:30 am
Viewing 15 posts - 3,766 through 3,780 (of 9,644 total)