Viewing 15 posts - 3,766 through 3,780 (of 9,643 total)
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
...
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...
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.
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,
...
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...
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...
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...
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,...
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.
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.
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...
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...
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...
November 19, 2009 at 7:36 am
What is the error you get?
November 19, 2009 at 7:30 am
Well, you should be able to use SSIS to create the files. You would use the stored procedure(s) in the dataflow source and then the destination can be a...
November 19, 2009 at 7:29 am
Viewing 15 posts - 3,766 through 3,780 (of 9,643 total)