Forum Replies Created

Viewing 15 posts - 2,041 through 2,055 (of 9,707 total)

  • RE: Do wildcards wipe out underscores?

    John Mitchell-245523 (2/3/2016)


    Brandie

    An underscore is a wildcard for a single character - if you want to find literal underscores then you need to escape them in your search pattern. ...

  • RE: Find and Remove Duplicate Records SQL Server

    SQLian (2/3/2016)


    Not sure if I am missing something here, but why can't the following be used?

    delete Customers

    where CustID NOT in (

    ...

  • RE: Are the posted questions getting worse?

    Jo Pattyn (2/2/2016)


    To the experts of DBCC TIMEWARP

    Why can't system databases be restored "with move" like the others?

    Example: RESTORE database model with move -> The system database cannot be moved...

  • RE: Are the posted questions getting worse?

    SQLRNNR (2/1/2016)


    GilaMonster (1/30/2016)


    Ed Wagner (1/29/2016)


    Is it really that much better than SSMS intellsense? I'm asking because I don't know; not trying to start a riot.

    Oh, hell, yes....

  • RE: Are the posted questions getting worse?

    BL0B_EATER (1/29/2016)


    Have you guys during your careers ever thought about doing something else in life.. as opposed to IT / SQL Server / Coding etc etc?

    Why yes. That's why I...

  • RE: Are the posted questions getting worse?

    Given that there are no instances, I assume there are other things that are not like normal servers.

    How does the SAN features (if there are any) work? I'm assuming you...

  • RE: Are the posted questions getting worse?

    Is anyone else having a "dot your Ts and cross your Is" kind of a day?

  • RE: Temp Table column suddenly becomes NOT NULL ???

    Eirikur Eiriksson (1/24/2016)


    Here is an alternative method for collecting this (almost the same) information in a single dynamic sql query.

    😎

    DECLARE @SQL_STR NVARCHAR(MAX) = N'';

    DECLARE @OUTER_SQL NVARCHAR(MAX)...

  • RE: Temp Table column suddenly becomes NOT NULL ???

    Final, final (we hope working) code for those who are interested.

    ------------------------------Data file size----------------------------

    IF (SELECT OBJECT_ID('tempdb..#dbsize')) IS NOT NULL

    DROP TABLE #dbsize;

    CREATE TABLE #dbsize

    (Dbname SYSNAME NOT...

  • RE: Temp Table column suddenly becomes NOT NULL ???

    Jacob Wilkins (1/26/2016)


    Brandie Tarvin (1/26/2016)


    Final (working) code for those who are interested.

    ...

    That's going to give incorrect results. For the insert into #alldbstate, you're still joining sys.databases and sys.master_files on the...

  • RE: Temp Table column suddenly becomes NOT NULL ???

    Final (working) code for those who are interested.

    ------------------------------Data file size----------------------------

    IF (SELECT OBJECT_ID('tempdb..#dbsize')) IS NOT NULL

    DROP TABLE #dbsize;

    CREATE TABLE #dbsize

    (Dbname SYSNAME NOT NULL,driveletter CHAR(1) NULL,...

  • RE: Temp Table column suddenly becomes NOT NULL ???

    Other than me setting a VARCHAR column as NOT NULL in #dbfreesize, I did see the difference between using the local file tables (you'd think I would know better) and...

  • RE: Temp Table column suddenly becomes NOT NULL ???

    Eirikur Eiriksson (1/24/2016)


    Brandie Tarvin (1/22/2016)


    ... I have a bit of code that monitors my database growth.

    Quick question, are you intentionally returning one row for each database file?

    😎

    Yes, because some...

  • RE: Are the posted questions getting worse?

    I guess my main misunderstanding here is Tom's use of "'safe harbor' farce". I feel as if I'm missing a specific reference.

  • RE: Are the posted questions getting worse?

    TomThomson (1/25/2016)


    GilaMonster (1/25/2016)


    Bandwidth, latency and data out of the country (for 1 and 3)

    I see the same. Plus in the EU it's probably illegal to host the data outside...

Viewing 15 posts - 2,041 through 2,055 (of 9,707 total)