Forum Replies Created

Viewing 15 posts - 631 through 645 (of 717 total)

  • RE: LEN()

    Good question, thanks!

    Though I probably would have had the second option be 5, 2, 3...

  • RE: SELECT INTO

    antony-688446 (6/13/2010)


    Come on, give the guy a break - you can see that Null has been cropped off! Not another huge discussion on assumptions!

    But for all you know there...

  • RE: SELECT INTO

    I got it wrong because I didn't read the question correctly, I thought it was asking how many rows where returned.

    But in any case even 3 is not the correct...

  • RE: How many Records Will Get Selected

    lmu92 (6/11/2010)


    I second Ninja's_RGR'us recommendation regarding the script screenshot.

    For two reasons:

    #1) it requires at least a little more effort to run it before answering (for those who otherwise would...

  • RE: How many Records Will Get Selected

    My initial reaction was that it would return one row, but I thought this is too easy for a question worth 3 points. So I looked a little more and...

  • RE: Model DB

    CirquedeSQLeil (6/10/2010)


    nelsonj-902869 (6/10/2010)


    michael.kaufmann (6/10/2010)


    Just verified the finding in SQL Server 2005:

    Very interesting behavior--especially given the fact that BOL states one cannot set the MODEL database to READ_ONLY (that's why I...

  • RE: Model DB

    Hugo Kornelis (6/10/2010)


    UMG's comment is not entirely correct. SQL Server does nog ignore the READ_ONLY property in model; it just does not propagate it to the new database. Try createing...

  • RE: Model DB

    Great question, thanks! Though it would be nice for a little explanation behind the results.

    Considering that BOL states:

    "The following operations cannot be performed on the model database:

    •Setting the database or...

  • RE: Stored Procedure Execution

    DLathrop (6/9/2010)


    Full three part naming helps the query optimizer recognize and reuse queries in the execution plan cache.

    I understand that you need to use two part naming, but I have...

  • RE: Stored Procedure Execution

    Nadrek (6/9/2010)


    B) Always use three part naming, so you either execute:

    Adventureworks.Person.(otherprefix)ReturnSomething

    or

    Master.dbo.(otherprefix)ReturnSomething

    both of which make it explicitly obvious what you're calling.

    That sounds nice, but it causes problems...

  • RE: Access variables values from Trigger

    Interesting article, thanks. I'm not sure I will end up using it, but I will keep it in the back of my mind for when an issue might come up.

  • RE: Speeding Up Incremental ETL Proceses in SSIS by Using MD5 Hashes

    Neeraj Gupta-485504 (6/8/2010)


    Could you please elaborate the use of binary checksum function.

    Here is a link to BOL for it: BINARY_CHECKSUM

    Essentially you could do something like:

    UPDATE A

    SET LastName = B.LastName

    FROM...

  • RE: SQL Server 2008 Compression

    Jason, thanks for this great article, I can't wait to get our production server upgraded so we can actually start using some of these features!

  • RE: SQL Server 2008 Compression

    JohnSQLServerCentral (5/6/2010)


    Can anyone confirm whether Backup Compression is included in the new SQL 2008 Standard R2, or is it still just for Enterprise? This really should be...

  • RE: Stored Procedure Execution

    Great question, thanks Jason!

    The old don't start your SP names with SP_

    I really wish I knew all of this 13 years ago... 😉

Viewing 15 posts - 631 through 645 (of 717 total)