Viewing 15 posts - 1,726 through 1,740 (of 7,164 total)
SW21_Bob (3/6/2013)
More specifically, are synonyms replaced with fully qualified names in execution plans? It would seem to me that any synonym has to...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 7, 2013 at 12:15 am
Here's how I usually handle it:
DECLARE @long_string NVARCHAR(MAX) = N'Hello world!';
SELECT @long_string AS [processing-instruction(long_string)]
FOR XML PATH(''),
...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 7, 2013 at 12:03 am
Is there a way that a developer with dbo rights in a database can explicitly grant themselves view definition permissions on a stored procedure they create as dbo?
What JeremyE showed...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 11:56 pm
Managing SQL Server on VMware[/url]
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 11:48 pm
David Conn (3/6/2013)
C. This was my first encounter with uninitialised variables.
Thanks. I am pretty sure that aspect of C "fell off my memory queue" a long time ago 😛
At least...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 11:42 pm
You can check the dependencies of the table using the Catalog Views:
USE AdventureWorks2008R2;
GO
SELECT referencing_schema_name,
referencing_entity_name,
...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 11:34 pm
David Conn (3/6/2013)
The ones that don't tend to just leave the Variable with whatever is in its memory location.
Yikes, not sure I know (or knew or remember) which might do...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 11:20 pm
I'll second that. I almost exclusively favor traditional temporary tables over the use of table variables. Performance is one reason, which you may be experiencing first hand, and ease of...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 11:17 pm
SSIS Packages are not backward compatible. You could rewrite the packages in 2008 format or you could install SQL 2012 in the production environment. SSIS 2012 Packages will happily communicate...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 8:10 pm
You would modify your proc to set CONTEXT_INFO before you did the UPDATE.
SET CONTEXT_INFO 0x1256698456
Then in your trigger you would check CONTEXT_INFO and if you found it had the...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 3:55 pm
ddg8885 (10/20/2010)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 3:42 pm
Just had this same question on another thread with a trigger and doing a large insert...almost verbatim from the other thread:
One thing I can say is that if you were...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 3:28 pm
These are the two indexes involved in the deadlock:
CREATE UNIQUE CLUSTERED INDEX [CI_Patient_PracticeID_PatientID] ON [dbo].[Patient]
(
[PracticeID] ASC,
[PatientID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 1:23 pm
I still don't think we have seen the code for object 1945422350.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 1:14 pm
Oooh, a GOTO, haven't seen one of those in a while 😀
What else is going on in the TRIGGER? code?
And can you post the tables and all indexes of the...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 6, 2013 at 12:28 pm
Viewing 15 posts - 1,726 through 1,740 (of 7,164 total)