Forum Replies Created

Viewing 15 posts - 11,476 through 11,490 (of 14,953 total)

  • RE: sql query help

    Your CTE looks like it should work. Is there a problem with it?

  • RE: Restricting Database user access

    A login trigger can handle that kind of thing, but be very, very careful about how you write it, because mis-creating one of those can do really bad things, like...

  • RE: Conversion failed when converting the nvarchar value 'colname' to data type int

    r.hensbergen (1/20/2009)


    When you want to use a variable in a SQL statement, you need to do this a bit different:

    CREATE PROCEDURE sp_GetTasks

    @colname nvarchar(50),

    ...

  • RE: sql query help

    So, within packages, you have sub-packages as products? That's what the CTE seems to indicate. Is that correct? (Makes sense, just making sure I'm not missing something...

  • RE: datediff mm between a timestamp in varchar(50) and a small datetime ???

    The problem isn't directly the code in the query. It's that there's data in the timestamp field that SQL can't convert to a date.

    If you select from that table,...

  • RE: sql query help

    What you're asking for is a very, very simple Select statement. Is there something more to this, or do you not know how to write Select statements?

  • RE: Hidden RBAR: Triangular Joins

    Charles Kincaid (1/20/2009)


    Ah! Much clearer. Yet the contention of some is that you are teaching them to ride a better horse rather than introducing them to a car....

  • RE: SQL or Oracle

    Jason Shadonix (1/16/2009)


    Yes and no.

    I used to work for a not-for-profit company that had SQL Server and Access, but no decent devleopment tools. (Couldn't/wouldn't pay for decent MS tools,...

  • RE: Are the posted questions getting worse?

    On the question of testing the answers so you understand them, I highly recommend a proof-of-concept environment. I keep a database named "ProofOfConcept" on a dev server. Very...

  • RE: Why do people need to do this?

    Jeff, I think the basic point of such questions is that data sequentiality matters in some cases, and it's something that SQL (and relational databases in general) are supposed to...

  • RE: Update Performance

    Max (1/16/2009)


    Just thought, have you checked if there's a performance gain in using IF EXISTS( SELECT blah FROM tblBlah WHERE Client_ID\Name = [@Client_ID\Name]) THEN UPDATE... ELSE INSERT...

    The problem with that...

  • RE: Hidden RBAR: Triangular Joins

    TheSQLGuru (1/19/2009)


    1) some one said this "Your point is to design it for 6 MILLION products right from the start. And I agree. ". Meanwhile, while your group...

  • RE: Hidden RBAR: Triangular Joins

    Jeff Moden (1/17/2009)


    ...CLR's are better at most RegEx and file handling. With those two exceptions (so far)....

    The other place I've found CLRs to be "better" is using CLR as...

  • RE: Why do people need to do this?

    Matt Miller (1/16/2009)


    If you were a marketing person for CDW - knowing what the top five selling products are within each sales department would be something important. The last...

  • RE: SQL or Oracle

    Jason Shadonix (1/16/2009)


    Hey! How come nobody is mentioning how good Access is!? :hehe:

    It's great for single-user stuff. But price-for-price, it can't compete very well with SQL Express...

Viewing 15 posts - 11,476 through 11,490 (of 14,953 total)