Welcome to Sign in | Help
» Search

Search

You searched for the word(s):
Showing page 7 of 39 (389 total posts) < 1 second(s)
  • Re: deadlock - SQL Server 2005

    cred ca asta e si cazul meu: http://www.sql-server-performance.com/articles/per/advanced_sql_locking_p1.aspx dar nu vad si solutia :) alex.
    Posted to Intrebari generale (Forum) by Alex on January 7, 2009
  • Re: deadlock - SQL Server 2005

    La Index properties am urmatoarele pe iStatusCode Page fullness 79% Total fragmentation 0% bifa pe: automaticaly recompute statistics use row locks when accesing the index use page locks when accesing the index use index fara bifa la: fill factor multumesc, alex. &nbsp;
    Posted to Intrebari generale (Forum) by Alex on January 7, 2009
  • Re: deadlock - SQL Server 2005

    da, apare in sys.dm_db_index_usage_stats /* CREATE FUNCTION INDEX_ID ( @table sysname, @index_name sysname ) RETURNS int AS BEGIN DECLARE @indid int SELECT @indid = indid FROM sysindexes WHERE id = OBJECT_ID(@table) AND name = @index_name RETURN @indid END GO */ &nbsp; SELECT dbo.INDEX_ID('tbl1', 'iStatusCode') select * from ...
    Posted to Intrebari generale (Forum) by Alex on January 7, 2009
  • Re: deadlock - SQL Server 2005

    daca reusesc sa-mi dau seama cum fac rost de deadlock graph...da astia sunt indexii care exista pe tabela respectiva....nu am cluster CREATE NONCLUSTERED INDEX [iModifiedDate] ON [dbo].tbl1 ( [ModifiedDate] ASC )WITH (SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF) ON [PRIMARY] CREATE NONCLUSTERED INDEX ...
    Posted to Intrebari generale (Forum) by Alex on January 7, 2009
  • Re: deadlock - SQL Server 2005

    si mai am si eu 2 intrebari: 1. daca deadlockul apare pt ca pe aceeasi tabela se face in acelasi timp si select si update, credeti ca ajuta cu ceva daca updateul il fac pe tabela si selectul pe tabela il fac printr-un view? 2. la un index care e pe disable cand ii dau enable el face si rebuild (necesita timp)? multumesc alex.
    Posted to Intrebari generale (Forum) by Alex on January 7, 2009
  • Re: se poate optimiza in vreun fel .... sql server 2005

    DataExecutiei vine tdin tbl1 am facut modificarile dar mai am o intrebare, acest union (select ExternalCode,MessageCode from&nbsp;tbl2 union all select ExternalCode,MessageCode from tbl2_HIST) b il folosesc de f multe ori in interiorul procedurii mele (de unde apartine si codul postat anterior) doar ca se schimba clauza de where (se modifica ...
    Posted to T-SQL (Forum) by Alex on January 7, 2009
  • Re: deadlock - SQL Server 2005

    aceste 2 proceduri ''se bat cap in cap'': CREATE PROCEDURE ChangeStatus @Index bigint, @StatusCode int, @MessageResponse varchar(4000) AS declare @message varchar(255),@errormessage varchar(255),@return int,@debug int select @return=0,@message='',@errormessage='' if not exists (select 1 from tbl1 where MessageCode=@Index) ...
    Posted to Intrebari generale (Forum) by Alex on January 7, 2009
  • se poate optimiza in vreun fel .... sql server 2005

    salut, Select b.ExternalCode, a.*, c.CodStare from&nbsp;tbl1 a, (select&nbsp;* from&nbsp;tbl2 union select&nbsp;* from tbl2_hist) b, tbl3&nbsp;c where DataExecutiei = @Data and a.CodMesajOut = b.MessageCode and c.CodMesajOut = a.CodMesajOut and c.CodStare = 32 and a.CodMesaj = 8 Order by a.CodMesaj &nbsp; multumesc. alex.
    Posted to T-SQL (Forum) by Alex on January 7, 2009
  • Re: deadlock - SQL Server 2005

    ai dreptate, am sa-ti urmez sfatul....revin multumesc alex.
    Posted to Intrebari generale (Forum) by Alex on January 5, 2009
  • Re: deadlock - SQL Server 2005

    ma refer ca nu stiu exact cum sa aflu toate procedurile/locurile unde ar trebui sa folosesc optiunea asta. alex.
    Posted to Intrebari generale (Forum) by Alex on January 5, 2009
« First ... < Previous 5 6 7 8 9 Next > ... Last »
Powered by Community Server (Commercial Edition), by Telligent Systems