Forum Replies Created

Viewing 15 posts - 1,036 through 1,050 (of 1,995 total)

  • RE: Execution plan shows Number of executes 24

    Mathew M.Varghese (6/8/2012)


    Why is the execute count (which is just a measure of how many times an operator in the query runs) a problem? Is this query slow?

    Yes the query...

  • RE: massive delete

    anthony.green (6/8/2012)


    BaldingLoopMan (6/8/2012)


    is there a way to temporarily turn off the writting to trans log for this process?

    everything is written to the transaction log you cannot stop that, it all...

  • RE: IIS Log To database table

    rwiethorn (6/8/2012)


    Hello Old Hand,

    Regarding your LogParser Jobs,

    Are You running and importing on the same server?

    I'm trying to run on Server1, and read on Server2.

    I get denied access when the LogParser,...

  • RE: QUERY ERROR

    A.NIF+ISNULL(A.FILIAL_NUMBER,'') = B.NIF+ISNULL(B.FILIAL_NUMBER,'')

    A.NIF+ISNULL(A.FILIAL_NUMBER,'''') = B.NIF+ISNULL(B.FILIAL_NUMBER,'''')

    you didn't account for using quotes inside your dynamic sql

  • RE: massive delete

    BaldingLoopMan (6/8/2012)


    is there a way to temporarily turn off the writting to trans log for this process?

    yes, but it's not without pre-requisite actions - you must follow these in the...

  • RE: massive delete

    +1 sturner

    however i did find on most of my configurations that 1000 is too small (as a rule of thumb) and that between 10k and 100k rows gave the best...

  • RE: index fragmentation.

    and before anyone follows that up with "it's not disk fragmentation" - what i mean is , it's the fragmentation of the index within the data file (not the fragmentation...

  • RE: index fragmentation.

    jitendra.padhiyar (6/8/2012)


    GilaMonster (6/8/2012)


    Internal fragmentation being?

    External Fragmentation: External Fragmentation happens when a dynamic memory allocation algorithm allocates some memory and a small piece is left over that cannot be effectively used....

  • RE: Duplicate Problem

    wertyui (6/8/2012)


    michael vessey (6/8/2012)


    a couple of things here

    IF @NextOrderNo is null

    begin

    SET @OrderNo = (SELECT NextNo FROM NxNo (Nolock))

    update NxNo set NextNo = NextNo @increasevalue

    end

    1) remember to use the WITH...

  • RE: Why this behavior for NULL on int col

    or make your column NOT NULL - and set a default value that means "unassigned"

    e.g (using a mocked up status table)

    status value

    1 ...

  • RE: how to take sum of count for this selct proc?

    I Thought there might be a way to do this with DENSE_RANK(), but i'm struggling

  • RE: Why this behavior for NULL on int col

    S_Kumar_S (6/8/2012)


    But my where clause is not doing comparision with NULL. it is doing comparision with 0.

    And since NULL is not a zero, those records should come logically.

    no - not...

  • RE: Backup error..

    anthony.green (6/8/2012)


    the N specifies that the following string is a NVARCHAR string

    N'\\XXXXXXXX\W$\LOG_BACKUP\XXXXXXXX_tlog_201206072000.TRN'

    Your actually backing up to \\XXXXXXXX\W$\LOG_BACKUP\, not the N drive

    Edit

    Mike beat me to it again

    lol - my kung fu...

  • RE: Backup error..

    jblovesthegym (6/8/2012)


    3041 :

    BACKUP failed to complete the command BACKUP LOG [XXXXXXXX] TO DISK = N'\\XXXXXXXX\W$\LOG_BACKUP\XXXXXXXX_tlog_201206072000.TRN' WITH INIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT

    This is odd as...

  • RE: Why this behavior for NULL on int col

    have a look through books online - or google "NULL EVALUATION SQL SERVER"

    http://stackoverflow.com/questions/1843451/why-does-null-null-evaluate-to-false-in-sql-server

    http://msdn.microsoft.com/en-us/library/ms172138(v=vs.80).aspx

    basically (in simplest terms) NULL does not evaluate: you cannot say =NULL or <> NULL

    you can use the...

Viewing 15 posts - 1,036 through 1,050 (of 1,995 total)