Forum Replies Created

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

  • RE: TempDB Database On a Local Disk for an FCI

    Nice to know, how to install / configure it, but I still do not know, if and how this will work, when a server crash and has to fail over...

  • RE: Detective Stories - Tracking Down the Database's Dependents Part I

    Your code, where you select for definition like '%' +  @ValueToFind + '%' is wrong, since it would return references to MyDB10 and MyDB1_test  and dev_MyDB10 when @ValueToFind is 'MyDB1'.

  • RE: ShrinkFile

    This is not true.
    I just used
    DBCC SHRINKFILE (N'mydb_log' , 0, TRUNCATEONLY)
    on my 4 GB log file and it is now down to 10 MB (10...

  • RE: Broken tempdb

    Ed Wagner - Friday, January 27, 2017 5:48 AM

    We had our SAN go off the rails once - it was a...

  • RE: Broken tempdb

    I would have opened the Windows drive management console and changed the drive letter from t: to something else and added t: as additional letter to the d:-drive... (+ maybe...

  • RE: DECLARE multiple vars with default value

    t.franz - Sunday, January 15, 2017 8:06 AM

    Comments posted to this topic are about the item DECLARE multiple vars with default value

  • RE: Securing Your Instances

    Would it be possible to install my real instance e.g. at myserver port 9999 and a second instance with empty databases uses the same name at port 1433 that links...

  • RE: Syntactic Sugar

    Where do you need RegEx? LIKE is supporting it currently, so the only other point could be something like REPLACE (but I never needed it for REPLACE).

    They already added some...

  • RE: Search query based on four separate parameters.

    Regarding the OPTION RECOMPILE:

    It would help only, when you change your WHERE to something as

    WHERE (ISNULL(@ForumName, '') <> '' AND tbo.ForumName LIKE @ForumName + '%')

    OR (ISNULL(@SurName,...

  • RE: First Class Jobs

    A drawback of having the Jobs in the database would be, that - when you restore the database as _test, _dev or whatever, those jobs would be started and this...

  • RE: Finally, Create or Alter

    @steve-2: What would you do regarding the column order, when you are facing a CREATE OR ALTER <table> statement and the column order differs from the real. Recreating...

  • RE: Finally, Create or Alter

    djackson 22568 (11/29/2016)


    I never have an issue with this. A simple "if exists" tells me if I need to delete something before running create.

    Yes, and doing this you drop...

  • RE: Finally, Create or Alter

    I doubt, that an ALTER OR CREATE <table> would be used commonly, particularly since a CREATE table will usually need some indexes, FKs, CHECK CONSTRAINTs and some other stuff too.

    Furthermore...

  • RE: Happy Thanksgiving 2016

    Who do you blame for the lack of snow, Obama or Trump :hehe:?

    PS: Happy holiday.

  • RE: The Danger of xp_cmdshell

    van.yancey (9/16/2016)


    I've only used it on Azure SQL Datawarehouse, but I believe the Polybase feature in SQL Server 2016 solves the problem of BULK EXPORT.

    But it would be a little...

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