Viewing 15 posts - 6,661 through 6,675 (of 8,416 total)
I meant the output might help explain it to me! 😀
It didn't. I suppose your SQL Server team might have hacked sp_send_dbmail - the default procedure has an EXECUTE...
November 10, 2009 at 5:04 am
Peter,
Are you able to run:
select net_transport, protocol_type, auth_scheme from sys.dm_exec_connections where session_id = @@spid;
select [host_name], login_name, original_login_name from sys.dm_exec_sessions where session_id = @@spid;
...please?
The results may help explain things.
Paul
November 10, 2009 at 4:26 am
Peter Gadsby (11/10/2009)
I dont understand why we don't get the error 'files requires an integrated client login.'We can use a local login to send an email with an attachment!
Books...
November 10, 2009 at 3:33 am
Sander A. (11/10/2009)
November 10, 2009 at 3:10 am
A full optimization will take a few minutes, but the main problem seems to be a missing index, something like:
CREATE UNIQUE NONCLUSTERED INDEX [UQ dbo.TransactionDetail TransactionId (AccountId, Direction, Amount)]
ON [dbo].[TransactionDetail]...
November 10, 2009 at 2:45 am
Nice quote G2. There is a lot of over-excitement surrounding fragmentation. Maybe it's because people 'know' that it is important to keep disk files defragmented?
The situation in SQL...
November 10, 2009 at 2:30 am
Yes, the posted execution plan just shows the plan for:
DECLARE @ISLEAF BIT
SELECT @IsLeaf = IsLeafAccount FROM Account WHERE AccountNum = @AccountNum;
...which isn't really the performance-critical bit 😛
Please do take...
November 10, 2009 at 2:15 am
So the problem here was the usual sniffing/recompile thing. I just want to add that sometimes problems are genuinely caused by the statistics histograms not containing any entries to...
November 10, 2009 at 2:08 am
TheSQLGuru (11/9/2009)
I think we answer quite a few exam/homework type questions. Sometimes they do evoke a good learning discourse though.
Oh absolutely - the discussions are probably what keeps me...
November 10, 2009 at 2:00 am
TheSQLGuru (11/9/2009)
Yeah - this was your IMPROVED design, right?? LOL
LMAO!!! :laugh:
November 10, 2009 at 1:58 am
jocampo (11/9/2009)
I will not use my time and energy boosting others egos or engaging on discussions that do not help on my issue at all.
Leading horses to water spings to...
November 10, 2009 at 1:56 am
Why does no-one ever include an actual execution plan? Actual row counts and thread distribution data are so important! And why omit the fact that the SQL is...
November 10, 2009 at 1:39 am
November 10, 2009 at 12:40 am
Hey Louis,
A wait description of 'REPLICATION' means that the log is being held active by transactional replication. The first thing to do is to check whether the database has...
November 10, 2009 at 12:36 am
I used Google. Found http://www.sqlservercentral.com/Forums/Topic113227-5-1.aspx which contains a script to do what you ask. The people in the thread seemed impressed with it.
November 9, 2009 at 11:36 pm
Viewing 15 posts - 6,661 through 6,675 (of 8,416 total)