Forum Replies Created

Viewing 15 posts - 271 through 285 (of 832 total)

  • RE: Tracking Processes

    I'm another who answered "None of the above" because the disk IO in sp_who2 is both reads and writes, not just reads--it's the sort of trick answer that a lot...

  • RE: PROD ISSUE : Conversion failed when converting the varchar value 'DT-1205-006049' to data type int.

    Is that query in the OP transcribed correctly? Because you don't seem to have enclosed the BX-00006767 value in quotes, which means SQL server isn't going to interpret it as...

  • RE: database stuck in single user and no spid

    Are you using SQL Management Studio to issue these commands? It has an annoying tendency of opening multiple connections to the database, so you'd be better off using SQLCMD to...

  • RE: The Dream Machine

    Steve Jones - SSC Editor (9/7/2012)


    Luis Cazares (9/7/2012)

    Four is overkill, but it's nice and symmetric for me.

    Terry Pratchett would disagree--I saw a TV program which showed his main work station,...

  • RE: Backing Up/Restore to non-local drive

    Sqlism (9/6/2012)


    EXEC xp_cmdshell 'net use v: \\ServerName\foldername'

    Here we are assigning V as drive letter to the \\ServerName\foldername'

    -----------------------------------

    BACKUP DATABASE [XYZ] TO

    DISK = N'v\xyz.bak'

    WITH stats = 10, format

    What's...

  • RE: The Dream Machine

    Dream machine would have a super-fast hard disk subsystem (maybe SSDs in RAID), at least 16Gb of RAM, super-powerful CPU and a single, very large monitor. (I dislike using multiple...

  • RE: Performance issue with tally solution

    Adam Machanic (9/4/2012)

    The code that follows is my crack at a more memory efficient solution. It works only for a single delimiter (I never did see the point of multi-character...

  • RE: Basic Design Question

    I'm with Mark on that one. The client may be telling you that the requirement is always for two-person teams and that this will never change, but if you believe...

  • RE: Index types 2

    I'd never heard of a bitmap index, but I knew which four answers were right and so did OK. If it hadn't specified there were four right answers I'd have...

  • RE: Shadow IT

    The first company I worked at was *all* Shadow IT. It was a small company which employed a large proportion of IT-savvy people (programmers, mostly), so they just relied upon...

  • RE: Fix v. Create

    Steve Jones, 2012:

    "The more I think about my career, the more I think that I've spent more time fixing things than actually working on new code."

    Maurice Wilkes, 1949:

    "As soon as...

  • RE: Inserts

    Steve Jones - SSC Editor (8/23/2012)

    I suppose it could have been 1..1001 and tested the same thing.

    1001 is an odd (literally :-P) upper value, though--it would immediately make people suspect...

  • RE: Inserts

    I didn't overlook the zero on the first one, but that's maybe because I've programmed in both C and BASIC and you soon learn to notice things like that after...

  • RE: Make a Backup First

    Miles Neale (8/22/2012)

    Just takes a little creativity and a good memory, and a handy password safe.

    :-):-)

    The problem there is that these questions are usually intended to allow you to...

  • RE: Make a Backup First

    Why would taking a backup potentially cause problems? If there's an existing backup plan in place then taking a manual full backup shouldn't be an issue, and if there IS...

Viewing 15 posts - 271 through 285 (of 832 total)