Forum Replies Created

Viewing 15 posts - 46 through 60 (of 131 total)

  • RE: concatenation

    I guess this depends on the initial type of the data which in the first position.

    Not entirely true. (Try '130' + 1 + '120' => 251)

    If you see the...

  • RE: concatenation

    A good question (which I got wrong :(), but I think that these references better explain what's happening:

    http://msdn.microsoft.com/en-us/library/ms190276 (operator precedence)

    http://msdn.microsoft.com/en-us/library/ms190309 (data type precedence)

    When two operators have the same precedence (as...

  • RE: Stored Procedure with a loop or something?

    You almost certainly don't need a loop (and it would probably be a very bad idea to do so). I suspect that something like this will do the trick:

    INSERT...

  • RE: Kill a SPID

    Am I the only one who saw the title of this article and thought it was referring to the Katy Perry song - "I killed a PID and I liked...

  • RE: Remove comments from the SQL Code

    I'm curious as to what circumstances you would plan on using this script - the hard part is usually getting developers to include comments in the first place; I can't...

  • RE: sql server

    Who said it was a file?

    Yep - don't know where I got that from. I guess it just looks like the sort of thing that's come from a file...

  • RE: sql server

    If it can be made to fit into your workflow, my inclination would be to create some kind of script to preprocess the file into this:

    id , name , dummy1...

  • RE: SQL Server Logs

    I have to admit I only got it right because I've never seen a Setup Event Log before. Is this something new in Windows Server 2008? - it's not...

  • RE: DateTime Puzzle

    Toreador (5/8/2012)


    To those who said the answer was easy - is this because you know how SQL handles implicit conversions of this sort, or because you ran the code? I...

  • RE: dtsmsg100.dll is missing on your computer

    Do you have more than one version of SQL installed? I've seen SSIS getting a bit confused about file locations if there are multiple versions.

    Is 100\DTS\Binn on your path?...

  • RE: Looping

    SQLRNNR (3/16/2012)


    happycat59 (3/15/2012)


    Whilst it might take a while, eventually you will get an error when you run out of disk space. So, I kinda think that the correct answer...

  • RE: Looping

    I got this one wrong despite knowing what the "correct" answer was, because I elected to treat the word unlimited literally. You will get an error unless you've got...

  • RE: How can we find out if a particular database is the defualt database for any login ?

    If anyone finds themselves in this situation (I know I have), there's a fairly easy way to still get into SSMS (assuming you have access to another database on the...

  • RE: Triggers

    Not unlimited - limited by the size of the underwear, and what else you've got in there :w00t:

  • RE: Triggers

    That's the second or third R2 limits question we've had - I've now got that page on favourites, ready for the next one ;-).

    I always find some of the limits...

Viewing 15 posts - 46 through 60 (of 131 total)