Forum Replies Created

Viewing 15 posts - 3,331 through 3,345 (of 13,469 total)

  • RE: sql server 2012 memory limit

    i don't think there's a limit on RAM;

    the default setting is 2048 terabytes of ram as the default maximum setting until you change it to something less than what is...

  • RE: Use of brackets around data names

    Howard I have 2012, but I'm not sure where, specifically, you are talking about where the objects get bracketed by the quotename() function;

    do you mean when you script an object?...

  • RE: Are the posted questions getting worse?

    GabyYYZ (6/4/2013)


    SQLRNNR (6/4/2013)


    GabyYYZ (6/4/2013)


    Back...what I miss?

    We are busy writing the DR plan for SSC and RedGate. Nothing big.

    Ahhh...in our company, we consider naivete and blissful ignorance as sound DR...

  • RE: NOLOCK is giving different result sets.Why?

    sachin6139 (6/4/2013)


    I have 2 select statements. One with NOLOCK hint and other without NOLOCK hint. I am getting different result sets. Rows are same but there order is different....

  • RE: Wny "JOIN expression not supported"?

    i had to add one more alias near the end to get this to parse correctly in SQL:

    (also several columns are using reserved word names: xxxSTAFF.[File],xxxBanks.[Desc], xxxPayrollBankGroups.[Group])

    ...

    FROM [xxxOES Absence 2006...

  • RE: How can I add custome tag(Inserted, Updated, deleted) into column of status based on Insert, Update and Delete operation.

    maybe soemthing like this might help?

    you just need to test for the existence of any data int he INSERTED or DELETED virtual tables

    CREATE TRIGGER TR_WHATEVER_NOTIFICATIONS

    ON WHATEVER FOR INSERT,UPDATE,DELETE

    AS

    BEGIN

    SET NOCOUNT...

  • RE: Mistery never ending query

    ricardo_chicas (6/4/2013)


    explain stale stats in a brand new table, with a brand new clustered index with a run of update stats a few minutes ago, again not a stats issue

    take...

  • RE: Who Dropped Database

    this is a query i like to use, to get teh path for me easily:

    --SELECT * from sys.traces

    declare @TraceIDToReview int

    declare @path varchar(255)

    SET @TraceIDToReview = 1 --this is the trace you...

  • RE: Mistery never ending query

    ricardo_chicas (6/4/2013)


    what version of 2012?

    again, it's not the version, it's most likely stale statistics, that we mentioned a few times; there's nothing in your example that is not done in...

  • RE: Evaluating bit fields in SSRS

    dawidajm (6/4/2013)


    It is a boolean so I would imagine this is then evalutating IsState.Value <> False?

    i believe under the covers , false is zero, and true is anything not zero,...

  • RE: Mistery never ending query

    nope, not a valid test/way to reproduce the issue.

    here's your exact code, but loaded with random data.

    on my machine, with all four versions of SQL Server I have installed...

  • RE: Evaluating bit fields in SSRS

    i believe this is the equivalent; the first test is evaluating whether it's boolean, so the first part of your test is just checking if the value is zero...

  • RE: HOW TO EXECUTE 2-3 SQL STATMENTS ONE AFTER ANOTHER BASED ON THE RESULT OF PREVIOUS QUERY?

    here's a quick and dirty example, of how to get rows from the Oracle Linked server without copying the whole table, and then filtering, like a typical linked server query...

  • RE: Mistery never ending query

    wow that's unusual, can you check for corruption? that might explain everything:

    dbcc checktable ('YourTableName') WITH ALL_ERRORMSGS

    DBCC CHECKDB (<Database Name>) WITH NO_INFOMSGS, ALL_ERRORMSGS

  • RE: Who Dropped Database

    the default trace has it,if not too much time has passed, since it only keeps the last 100 meg of changes

    fastest way to get to it is to right...

Viewing 15 posts - 3,331 through 3,345 (of 13,469 total)