Forum Replies Created

Viewing 15 posts - 48,091 through 48,105 (of 49,571 total)

  • RE: 70-447 coming up...

    Good luck.

    I'm writing this one on friday morning. Still need to work through two of the course guides. :Whistling:

    Shall we compare results monday morning?

  • RE: difference between Len() and DataLength()

    Datalength works on text and ntext data types where len does not.

  • RE: Index Scan vs Index Seek

    Ananth (12/10/2007)


    whether index scan reads the data from index or table? if it reads from the table then there is no advantage of this index scan because , it is...

  • RE: Shrinking a live DB

    You can, but you will have a performance impact. How much depends on your hardware and the activity.

    Try shrinking in smaller chunks. Sometimes that works out faster overall. Even if...

  • RE: Known problems with bit-columns?

    It didn't change in 2005. I don't know about previous editions, because I started with SQL 2000, but 2000 also had no issues with null bit columns

  • RE: Trigger

    Yeah, I saw it. I even read it, twice.

    I'm commenting on the cursor as much for the benefit of anyone reading this who might otherwise think that's a good way...

  • RE: Further learning in SQL

    Jeff Moden (12/9/2007)


    Heh... yeah... I know what they're for... it just that lot's of folks use them for things they should be doing in T-SQL, but don't know how.

    Tell me...

  • RE: update stmt in Function?

    Functions are not allowed to have side effects. No data changes, no schema changes, no config changes.

    Can you convert it to a stored procedure?

  • RE: Further learning in SQL

    I still need to convert some of my crappy string manipulation functions to CLR. I'm betting on a CPU usage reduction if nothing else.

    There are things that can be done...

  • RE: Trigger

    Rob Reid (12/9/2007)


    To handle multiple inserts I could have while looped through each record in the inserted calling the proc

    Ow! Cursors (or while loops) in triggers are very bad...

  • RE: Dead lock

    I my experience, the traceflag is the best way to get deadock info, as you don't need any form of monitoring running. You can see deadlock graphs in the error...

  • RE: Hidden RBAR: Triangular Joins

    TheSQLGuru (12/8/2007)


    Stealing my thunder Gila! I already posted on that yesterday at 8:54. 🙂

    I saw, I thought it was worth saying again in stronger terms.

    Besides, isn't imitation the...

  • RE: I Need Full Info of MCTS(70-431) exam,Please give me Tutorial and Hints.

    It's a multiple choice and simulation exam. You won't have to write code. You may need to select the correct version of the command from a list, so you should...

  • RE: Trigger

    As for your original question.

    On a insert, the inserted table will be populated and the deleted will be empty. On an update, both the inserted and deleted tables will be...

  • RE: Need Help With a Deadlock Issue

    I'm not sure why this is deadlocking, as statements within a transaction cannot block each other.

    If you look through the deadlock graph, can you find any reference to a...

Viewing 15 posts - 48,091 through 48,105 (of 49,571 total)