Forum Replies Created

Viewing 15 posts - 3,121 through 3,135 (of 8,731 total)

  • RE: Nested Joins - Having syntax and bounding issues

    Which is equivalent to this:

    SELECT WorkForce.empID,

    WorkForce.empName,

    WorkForce.zip,

    Sales.prodID,

    PayTypes.payType,

    Products.prodType,

    Sum(convert(int,Sales.salesTot)) AS [SumOfsalesTot] --This wass missing a parenthesis

    FROM WorkForce

    INNER JOIN Sales ON WorkForce.empID = Sales.empID...

  • RE: which algorithm is used in my query?

    Keep in mind that the join algorithm can change any time the circumstances change. You don't have any guarantee that the same query will always use the same algorithm.

  • RE: About index - What is the reason.

    More than assuming that the PK should be the clustering key, it's because the clustered index should be the first index in any table, and the PK needs an index...

  • RE: String manipulation options

    Can you share some sample data and expected output?

    When you mention single email per line, do you mean using a carriage return or setting a new row?

    Which of your variables...

  • RE: Are the posted questions getting worse?

    yb751 (3/31/2016)


    Damn it guys! Do you realize how hungry you're all making me right now?!? LOL

    Ditto.

  • RE: Today's Random Word!

    Ray K (3/30/2016)


    crookj (3/30/2016)


    Hugo Kornelis (3/30/2016)


    Ed Wagner (3/30/2016)


    djj (3/30/2016)


    ThomasRushton (3/30/2016)


    DonlSimpson (3/29/2016)


    djj (3/29/2016)


    Ed Wagner (3/29/2016)


    crookj (3/29/2016)


    Ed Wagner (3/29/2016)


    Luis Cazares (3/29/2016)


    djj (3/29/2016)


    HappyGeek (3/29/2016)


    Ed Wagner (3/29/2016)


    djj (3/29/2016)


    ThomasRushton (3/29/2016)


    funghi

    Cheese

    Parmesano Reggiano

    gout

    Groot

    Rocket

    Launch

    pad

    Trim

    Shim

    Polyfill

    parrot

    Cracker

    Password

    $ecuR3

    123456

    11011100101110

    0010 1010

  • RE: Nested Joins - Having syntax and bounding issues

    doasidont (3/30/2016)


    Thank you. Yes, I am using SSMS. Just installed it (SS Express) a week or so ago and am learning SS as I go. Should have...

  • RE: Today's Random Word!

    djj (3/29/2016)


    HappyGeek (3/29/2016)


    Ed Wagner (3/29/2016)


    djj (3/29/2016)


    ThomasRushton (3/29/2016)


    funghi

    Cheese

    Parmesano Reggiano

    gout

    Groot

    Rocket

  • RE: user defined function causing error

    dba-wannabe (3/29/2016)


    I'm sorry I wasn't clear.

    I'm not asking anyone to look through the code. I'm asking what causes it to run differently when run as a function...

  • RE: Converting Float to a Decimal

    CSVs have no data type defined. You define the data types in the connection manager. If you can only use float, you can convert the data type with a Data...

  • RE: Nested Joins - Having syntax and bounding issues

    You have some misplaced parenthesis. Formatting your code might make it easier to debug.

    SELECT WorkForce.empID,

    WorkForce.empName,

    WorkForce.zip,

    Sales.prodID,

    PayTypes.payType,

    Products.prodType,

    Sum(convert(int,Sales.salesTot)) AS [SumOfsalesTot] --This wass missing a parenthesis

    FROM WorkForce

    INNER...

  • RE: Need help with datatype Time conversion

    Jeff Moden (3/28/2016)


    Luis Cazares (3/28/2016)


    I'm guessing that Jeff is thinking on taking a similar path to this, but wants to be sure about the possible restrictions.

    Exactly. And, there's some...

  • RE: Need help with datatype Time conversion

    I'm guessing that Jeff is thinking on taking a similar path to this, but wants to be sure about the possible restrictions.

    You'll notice that I'm using datetime2(3) instead of datetime....

  • RE: Row Level Security Updates

    Shouldn't the policy send the username column like this?

    CREATE SECURITY POLICY rls_CustomerFilter

    ADD FILTER PREDICATE dbo.rls_customer_check(username)

    ON dbo.CustomerAccessList;

    GO

  • RE: Processing strings.

    ben.brugman (3/25/2016)


    Luis Cazares (3/25/2016)


    In my opinion, you would be better fixing the process that creates the string. Something as simple as changing the delimiter would solve all the headaches.

    Probably most...

Viewing 15 posts - 3,121 through 3,135 (of 8,731 total)