Forum Replies Created

Viewing 15 posts - 136 through 150 (of 819 total)

  • RE: DBCC SQLPREF

    Assuming we use DBCC SQLPERF with the parameter LOGSPACE the explanation is wrong.
    "Check the amount of space available in a transaction log file."

    BOL says the opposite "amount...

  • RE: I want back my Points

    nscheaffer - Wednesday, June 7, 2017 2:01 PM

    I have been working with SQL Server for a long time, but I don't fully...

  • RE: STUFF

    John Mitchell-245523 - Tuesday, May 2, 2017 3:06 AM

    If expression is NULL, zero length data is inserted

    Do you know whether that's...

  • RE: Minimal Config Restrictions

    About the "tempdb", here says that it is configured at the smallest possible size.
    https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/start-sql-server-with-minimal-configuration

  • RE: Pinned Tables

    Correct and incomplete answer: "This lets me know if the Order table is in the buffer pool", it always returns false.
    Ambiguous answer: "This tells me nothing as tables cannot...

  • RE: Finding Triggers

    The best method is the following:
    SELECT COUNT(*) FROM sys.triggers
    WHERE parent_id = OBJECT_ID('TriggerTest')

  • RE: Finding Triggers

    George Vobr - Thursday, March 2, 2017 8:52 AM

    Interesting question, thanks Steve, to exercise logical reasoning...😉
    That a table has INSTEAD OF Trigger...

  • RE: Finding Triggers

    Magnus Ahlkvist - Wednesday, March 1, 2017 11:56 PM

    One can define Instead Of Triggers on a table and the count for these...

  • RE: Mixed page allocation

    TjhomasH6610 - Tuesday, February 14, 2017 1:24 AM

    Great question, but I think the answer is incorrect.
     The first reference states "This setting is...

  • RE: ShrinkFile

    BillLudlow - Wednesday, February 8, 2017 2:51 AM

    Is it that it releases the log space but doesn't change the physical file size? ...

  • RE: ShrinkFile

    t.franz - Wednesday, February 8, 2017 12:46 AM

    This is not true.
    I just used
    DBCC SHRINKFILE (N'mydb_log' , 0, TRUNCATEONLY)
    on my 4...

  • RE: Get the full name

    Uncomment the query you want to try:
    WITH Fullname
    AS
    (
    SELECT * FROM (VALUES
    ('Erin','Keri','Moody','Sr.')
    ,('Megan','Laura','Morales','B.S.')
    ,('George','Lena',NULL,'')
    ,(NULL,'Ryan','Lucas','M.D.')
    ,('Sheryl','Marianne','Morton','IV')
    ) AS V([firstname],[middlename],[lastname],[suffix])
    )
    --SELECT COALESCE
    --        (
    --        firstname,...

  • RE: Get the full name

    Julie Breutzmann - Wednesday, January 25, 2017 9:03 AM

    Steve Jones - SSC Editor - Tuesday, January 24, 2017...

  • RE: Get the full name

    hakan.winther - Wednesday, January 25, 2017 2:28 AM

    That was an easy one, thanks! You could also solve this query with CONCAT. 🙂

    That's...

  • RE: Char with null

    sendijunk (1/11/2017)


    Good question. Could use a bit more explanation though. Interesting what happens if you replace ISNULL with COALESCE.

    The return type depends on "precedence" of types. In this case, the...

Viewing 15 posts - 136 through 150 (of 819 total)