Viewing 15 posts - 61 through 75 (of 440 total)
In this case, I would say that checking in the application is irrelevant unless it happens in a service layer on a web server, so that the application can know...
June 19, 2012 at 7:30 am
I would go for the merge statement.
And, as for the percentage: "There are three kinds of lies: lies, damned lies, and statistics." Those percentages is at the best a...
June 19, 2012 at 4:18 am
This is most likely due to updates from multiple transactions. In read committed transaction isolation level, a query won't "see" changes made by other queries before they are committed. So,...
June 19, 2012 at 1:07 am
My first thought, is why do you want to do this? As the servers already are licensed for enterprise edition, and assuming that you have license for all the nodes,...
June 19, 2012 at 1:00 am
I would say that piecemeal restore is a sequence partial restores, beginning with the primary filegroup. The two are not the same. When you restore the primary filegroup, you will...
June 18, 2012 at 1:53 pm
As far as I know, no you can't. The only option I know of is to disable the index, but disabled indexes are not updated, so you would have to...
June 18, 2012 at 5:09 am
The first parameter to sp_executesql must me ntext, nchar or nvarchar, in your case it is varchar. Btw, I do hope you did not actually post an adminstrator password?
June 18, 2012 at 4:52 am
Looks like you have written @MinVal instead of @MaxDiferenca in your dynamic sql:
SET @SQLString = 'select @maxVal = isnull(max(cod_sincronismo_fim),0)
from '+@DB+'.dbo.sincronismo where
tp_processo =''I'' and cod_tp_classificacao =2 AND STATUS =0
and cod_rep_fiscal...
June 15, 2012 at 7:27 am
bitbucket-25253 (6/14/2012)
http://sqlserverpedia.com/wiki/Find_Tables_Without_Primary_Keys
It should give you the result(s) you are seeking.
SELECT SCHEMA_NAME(o.schema_id) AS [schema]
,object_name(i.object_id ) AS
,p.rows
,user_seeks
,user_scans
,user_lookups
,user_updates
,last_user_seek
,last_user_scan
,last_user_lookup
FROM sys.indexes i
INNER JOIN sys.objects o ON i.object_id =...
June 15, 2012 at 1:16 am
June 14, 2012 at 1:55 pm
As far as I understand the error message, remove the SET NOCOUNT OFF from the trigger.
June 14, 2012 at 4:19 am
Here's a link with information about "not for replication": Controlling Constraints, Identities, and Triggers with NOT FOR REPLICATION
June 14, 2012 at 3:54 am
Is the constraint created with "not for replication"? If so, could you try to create it without this?
June 13, 2012 at 1:32 pm
Viewing 15 posts - 61 through 75 (of 440 total)