Forum Replies Created

Viewing 15 posts - 4,141 through 4,155 (of 14,953 total)

  • RE: Tally Table vs. While Loop

    I'd change that "LIKE" statement to something a little more REGEX-ish.

    CREATE TABLE #T (

    DT CHAR(10))

    INSERT INTO #T (DT)

    VALUES ('1/1/11'),('01/01/2011'),('1.1.11'),('1-1-11'),('Bob');

    SELECT *

    FROM #T

    WHERE DT LIKE '%[/.[-]]%[/.[-]]%';

    The brackets in the Like statement allow...

  • RE: conditional table joins

    The Dixie Flatline (6/2/2011)


    Gus:

    The reason I said use CASE is that you might have cases where the join to T2 succeeds but some other T2.column value is NULL anyway. ...

  • RE: Skipping locks during update statement

    mister.magoo (6/2/2011)


    Stephen Ward (6/2/2011)


    I see what you mean about Atomic transations and agree.

    I suppose this update statement isn't an 'all or nothing' situation but if I'm to break it...

  • RE: QL Server Configuration Manager, qustion, what is what, and whats it used for

    brownghost (6/2/2011)


    thanks ill re enable shared memory..

    what about this, i did not see answer for that question?

    1. Why are there both 32 and one one called anything = i thing...

  • RE: Mathematical Theory (controversy!)

    mister.magoo (6/2/2011)


    For anyone who thinks that an infinitely recurring number can simply be redefined as another number, I ask this question:

    Does PI (3.14159 etc ) which never repeats = 3.141.......

  • RE: Mathematical Theory (controversy!)

    mister.magoo (6/2/2011)


    0.999.... = 1 ? No. There I said it.

    One is a series of 9s preceeded by a ".", the other is a 1.

    You can decide to treat them as...

  • RE: Mathematical Theory (controversy!)

    mtillman-921105 (6/2/2011)


    ....

    Regarding epistemology GSquared, what if we're all wrong? I like Nietzsche's take on it better:

    The falseness of an opinion is not, for us, any objection to it....

  • RE: dynamic sql

    Thomas Considine (6/2/2011)


    I understood the requirement differently.

    If the routine would return, say, name and datatype for all columns, then that would be enough to pass

    to generic table editors, simple display...

  • RE: Are the posted questions getting worse?

    opc.three (6/2/2011)


    LutzM (6/2/2011)


    To quote from a thread I've been involved:

    Also, I will start to participate on the site more often. It has always been useful and seems to be very...

  • RE: Waitng for quick help

    I'm not sure how I'd do it in SSIS, but in T-SQL, it would look something like:

    DECLARE @XML XML = '<INPUT>

    <tag name="DUEDATE">1/25/2011</tag>

    <tag name="FORMTYPE">Single Family URAR, FNMA 2005 Form 1004</tag>...

  • RE: how to proceed with learning?

    The first thing I'd do is get a copy of SQL Server Express Edition, and walk through converting the database to SQL Server. Azure is similar enough that it...

  • RE: Geography Data Type - Best Practices

    How accurate do you need it to be, and how big is the total space you are mapping?

    If, for example, all of your stores are in one city, then just...

  • RE: conditional table joins

    Actually, Coalesce or IsNull would probably handle the Case statement logic in this scenario.

  • RE: Skipping locks during update statement

    Well, you can look into Isolation Levels and all that for data on locks and how to deal with them.

    But really, since transactions are supposed to be Atomic (ACID), you...

  • RE: Mathematical Theory (controversy!)

    toddasd (6/2/2011)


    GSquared, I think it would be a wonderful thing to sit at a bar and have some beers with you. We would probably spend the whole night debating when...

Viewing 15 posts - 4,141 through 4,155 (of 14,953 total)