Forum Replies Created

Viewing 15 posts - 6,496 through 6,510 (of 8,731 total)

  • RE: need Guidence for SQL DBA Certification

    Study, practice, be sure to know everything that you need and attend the certification exams.

    Vague answer to vague question.:-)

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: sql command

    What would happen if someone sets the value of ZoneName to

    '; DELETE TABLE IPPOOL;

    Don't try this on a production environment.

    You might want to read about SQL Injection to prevent this...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: Complicated Case

    From what I can understand, you're trying to limit the upper value of type 1 to 24 and types 2 and 3 to 48.

    This should do the trick.

    Case when Avg...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: Insert information based on a range

    Sean's code will work just fine as a join to a table that contains the ranges.

    An iTVF as suggested by him, might get some performance improvements because you can't never...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: Are the posted questions getting worse?

    jcrawf02 (5/8/2014)


    WayneS (5/8/2014)


    Ed Wagner (5/8/2014)


    No real surprise there. I checked out the site quite some time ago and remarked to myself how miserable the questions were. I also...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: Query running for morethan 2Hours 30 min

    Gangadhara MS (5/7/2014)


    PLAN ATTACHED.

    sp_helpindex 'DML.ExceptionstrackingTable'

    IX_DMLIsDeletedFlagganganonclustered located on PRIMARYDMLIsDeletedFlag

    IX_gangaddednonclustered located on PRIMARYDMLIsDeletedFlag, OriginalSubscriptionKey

    NCIX_ActivationModelnonclustered located on PRIMARYActivationModel, ExceptionType

    NCIX_BatchIDnonclustered located on PRIMARYBatchID

    NCIX_EntitlementIDnonclustered located on PRIMARYEntitlementID

    NCIX_ExceptionsTrackingTable_CalcProductKeyIDnonclustered located on PRIMARYCalcProductKeyID

    NCIX_GrpIDChannelIDSeqNononclustered located on PRIMARYGrpID,...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: Password History Table

    I know that this might not be constructive, but I had to ask.

    Why do you want that security measure to avoid repeated passwords, but you limit your passwords to 10...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: Data Grouping on 2 levels but only returning conditional data

    I can't understand your logic. There's no way to get to the first desired row: 10000, 'Starting', 9, 1200.0

    Could you explain further?

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: Query running for morethan 2Hours 30 min

    I agree on everything that Sean has said.

    I guess from my part is that your DISTINCT on 125 million rows is generating problems. This might help, and proper indexing should...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: Removing Memory-optimized tables

    sestell1 (5/7/2014)


    Hmph. Since the question asked how to remove the filegroup from the database, I didn't consider dropping the database a viable option.

    "Memory-optimized filegroups cannot be deleted."

    http://msdn.microsoft.com/en-us/library/dn284308(v=sql.120).aspx

    +1

    It's like asking...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: Hanging WHILE loop

    This is just a guess on what you might be trying to do, just a lot simpler and (hopefully) faster.

    It inserts everything at once instead of going one item at...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: Best way for SSIS log...there are so many

    vanamali (5/7/2014)


    I am sorry...is that really an answer? Congratulations you just added a new post to your 'post count'.

    It takes lot of time and effort. I was asking that question...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: New format of subject for notification emails

    I can't find a reason to use development time to insert additional line feeds when your mail client shoult format the email correctly.

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: Queries for per database performance

    For a deep answer on those questions, I suggest you to go to the books section[/url] in this site. You'll find great resources available there.

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: convert parts of string to int

    I'm not sure if this is considered simpler. 😉

    SELECT duration, SUM(iduration)

    FROM (

    SELECT duration,

    Item...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2

Viewing 15 posts - 6,496 through 6,510 (of 8,731 total)