Forum Replies Created

Viewing 15 posts - 406 through 420 (of 465 total)

  • RE: Optional parameters in WHERE clause

    Lynn Pettis (7/19/2012)


    You could also use dynamic sql to build the query that needs to be executed based on the parameters passed to the stored procedure.

    Yes, I've done that in...

  • RE: Problem with SQLServer and Bitwise operators

    jane.alford (7/16/2012)


    What do you see when you print sSQL right after this statement?

    sSQL = "SELECT * FROM parameters WHERE printer_type & " & pType & " = " & pType...

  • RE: Write Better Code

    No arguments from me on this one. I remember in one of my first programming courses, assembly language on a Univac 9300, one of the things the prof stressed was...

  • RE: Password Help

    djackson 22568 (6/28/2012)


    I have not used KeePass, but I do use Password Safe. It is a fine product, and the ability to have all my passwords in one place...

  • RE: Password Help

    I use a system of passwords, generated according to a fixed set of rules, that are easy to remember but impossible to guess. It's easy enough to think up such...

  • RE: Disk configuration

    I'm NOT relying on RAID to replace backups. I do backup regularly, just manually and not every day - sometimes days go by with no new data. I'd like to...

  • RE: Disk configuration

    I did lose a disk about two months ago, in the RAID 5 set. The server wouldn't let me connect remotely, but otherwise kept running. I and several others from...

  • RE: Disk configuration

    TheSQLGuru (6/25/2012)


    With a 100MB database and a few users - who cares?

    Well, I do, and such a low workload also makes it a good time to experiment, and learn how...

  • RE: Disk configuration

    TheSQLGuru (6/25/2012)


    Personally with that config I would go with 2-disk RAID1 for C drive and 4-disk RAID10 for D drive. You will need to use the C drive for...

  • RE: Query tuning - Left Join vs. Inner Join vs. main table select

    GilaMonster (6/8/2012)


    I'm not irked.

    Oh, good - sometimes it's hard to tell via only text.

    Play around with that setup (as simple as possible) and see if you can get your head...

  • RE: Query tuning - Left Join vs. Inner Join vs. main table select

    GilaMonster (6/8/2012)


    Sorry, but what did you want me to say? That one is faster than the other? That one is better than the other?

    No apologies necessary. As I wrote, I...

  • RE: Query tuning - Left Join vs. Inner Join vs. main table select

    GilaMonster (6/8/2012)


    They are two logically different queries that in this case just happen to produce the same result. That's why you get different query plans, because to SQL those two...

  • RE: Query tuning - Left Join vs. Inner Join vs. main table select

    GilaMonster (6/5/2012)


    Hi Gail, sorry for the delay in responding, I had some fires to put out, and I wanted think about what I needed, and construct an example to help...

  • RE: Query tuning - Left Join vs. Inner Join vs. main table select

    GilaMonster (6/5/2012)


    It has nothing whatsoever to do with performance. The meaning of the two queries is different. That's why you're getting different execution plans.

    But Gail, they both produce EXACTLY the...

  • RE: Query tuning - Left Join vs. Inner Join vs. main table select

    pdanes (6/4/2012)


    Well, I've advanced some, at least to a higher state of confusion. It certainly appears that the subquery syntax (#3) was unnecessarily complicated and brought no improvements - the...

Viewing 15 posts - 406 through 420 (of 465 total)