Forum Replies Created

Viewing 15 posts - 3,886 through 3,900 (of 5,678 total)

  • RE: Does a primary key need to be unique?

    Steve.hitch (2/25/2011)


    I would like a key or index on employee and transaction date. However, the data is not unique, so I can't make them primary keys. If SQL could have...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Finding duplicate values in very large table. Select Row_number() over too slow

    Indianrock (2/25/2011)


    We're on sql 2005 Enterprise and do have some indexed views in use. How would that work for this problem?

    I think I know where Paul's going with that...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: How to solve this 2 query

    I'll give you a few hints if you'll answer my final question.

    daveriya (2/25/2011)


    a) Write...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Time Zone Dilemma

    SQL_Student (2/25/2011)


    My SQL server is in Pacific Time. My branches are all over the country. I can determine based on location what respective time zones each location is...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Parameterized query within OLE DB Source

    SQLLawman (2/25/2011)


    That one is pretty simple, I only plan to give one person execute rights on the stored proc to launch the process. It's a very specific solution to...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Parameterized query within OLE DB Source

    Tom Van Harpen (2/24/2011)


    You can check if the job is running before executing it. Let me know and I'll post the code.

    Oh, no argument. I just wanted to know...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: SQL stored Procedures

    opc.three (2/24/2011)


    Here is why using the sp_ prefix for your proc names is a bad idea:

    http://blogs.msdn.com/b/jenss/archive/2009/04/28/a-long-but-not-missed-friend-revisited-prefixing-stored-procedures-with-sp.aspx

    Hm, nice article find, OPC. Thank you.

    To the OP: You can also have...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: BEGIN/COMMIT TRANSACTION question

    Serge Mirault (2/24/2011)


    How on earth is this possible if I COMMITTED the deletion in 10,000 record increments?

    Do you have a higher level wrapper transaction?

    Should the ROLLBACK only haved rolled back...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: return value

    Well, are you familiar with the modulo operator?

    Such as:

    SELECT ID FROM table WHERE id%10 = 0


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Parameterized query within OLE DB Source

    Tom Van Harpen (2/24/2011)


    There may be a more elegant way of doing this but this would work.

    Not really, that's the first thing that came to mind for me, too, though...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    jcrawf02 (2/24/2011)


    Ian Scarlett (2/24/2011)


    SQLkiwi (2/24/2011)


    I hadn't realized until just now that 'Ten Centuries' was your age, not points rank :w00t:

    I'm indestructable.

    Hold on, you're probably too young to have seen Captain...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Sr. SQL Server DBA Position

    GSquared (2/24/2011)


    Craig Farrell (2/24/2011)


    Besides what G2 already mentioned above...

    Education and Experience: Bachelor's degree in Computer Science, IS, or related degree, or equivalent experience. 5-6 years experience working with multiple...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    GSquared (2/24/2011)


    ... And for advertising something other than what's being sold, if beer ads were selling what they're advertising, Coors would be a national chain of brothels, not a drink.

    And...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Sr. SQL Server DBA Position

    Besides what G2 already mentioned above...

    Education and Experience: Bachelor's degree in Computer Science, IS, or related degree, or equivalent experience. 5-6 years experience working with multiple database platforms, including...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: SSIS - I put a resultSet in a variable. How do I select from that resltset variable from a different Execute SQL Task

    adam spencer (2/22/2011)


    But the Staging table. How to do that??

    I mean I have to be able to access it in SSIS from a connection from server2. I would be...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

Viewing 15 posts - 3,886 through 3,900 (of 5,678 total)