Forum Replies Created

Viewing 15 posts - 31 through 45 (of 310 total)

  • RE: Embedded sqls in front end

    Stored procedures give you :

    Performance

    Maintainability (You are only passing parameters - not trying to work out how a lengthy command was constructed)

    Modularity (the n-tier thing)

    Security - you can restrict access...

  • RE: SQL Query Tuning

    Also not analysed it in detail but what jumps at me is that you are using a cursor.  Cursors are slow slow slow !!!  You should be able to use...

  • RE: The Microsoft Religion

    Happy Birthday Kendall !!

  • RE: My Projects Have Never Failed

    I doubt that there are many IT projects of any size that can be deemed a complete success in all respects.  There is always something that could have been done...

  • RE: My Projects Have Never Failed

    Any software development project - any project in fact - is a team process.  The whole team owns it and the whole team succeeds or fails together.  If there is...

  • RE: What the difference between char and datetime in this situation?

    Dates is dates !!!  Chars are for display only.  Trying to process dates as strings is asking for trouble (because of the formatting issues David mentioned) and inefficient.  SQL Server...

  • RE: Rule of Thumb in terms of good programming practice

    I would always put readability and maintainability first - any rules are a means to an end, not the end in themselves.  As a general principle though, avoid reserved words!

  • RE: SQL Server 200 and 2005

    Hope you did it but, if not, you must uninstall all CTP components before installing SQL Express.

  • RE: Question of the Day for 04 Apr 2007

    Thank you, Hugo - an excellent explanation.  I usually just update fields that I have changed and check those but the single field test is, as you say, more efficient.

  • RE: Question of the Day for 04 Apr 2007

    What I never have understood is ... what on earth practical USE is it?

     

  • RE: Question of the Day for 04 Apr 2007

    I would dispute the 'correct' answer specified.  MSDN says 'Every time that a row with a timestamp column is modified or inserted, the incremented database timestamp value is inserted in...

  • RE: Cannot Open sql80.col

    Thanks for that.  Some of the affected files are different versions.  The trick now is to find the correct ones for an unsupported OS !

  • RE: Distinct with no order

    Use a GROUP BY instead of distinct.  Then you can avoid duplicates with something like :

    SELECT ID, [Name], MIN(SequenceField) FROM dbo.MyTable GROUP BY ID, [Name]

    ... but, as everyone says, you MUST...

  • RE: Select nthrow to mth row

    .. and I'm thinking you're right Jeff !  I didn't mean to imply anything otherwise.

    As long as EmpID is unique (presumably it is) and that is the selection order required...

  • RE: Select nthrow to mth row

    Remember that SQLServer does not guarantee any physical row order - the execution plan may change as data changes and lead to a different order in the result set unless...

Viewing 15 posts - 31 through 45 (of 310 total)