Forum Replies Created

Viewing 15 posts - 3,031 through 3,045 (of 8,761 total)

  • RE: Database keys

    Hi and welcome to the forum.

    The EventTime has to be present otherwise the key doesn't hold. The bigger problem here though is the design, i.e. a full day event would...

  • RE: insert a new row(s) into sql table A from table B

    If I understood correctly then this should do the job

    😎

    SELECT

    TB.OYHSSQ

    ,TB.OYNMTP

    ,TB.OYNAME

    ,TB.OYADD1

    ,TB.OYADD2

    ,TB.OYCITY

    ...

  • RE: Archiving Table Data

    Rechana Rajan (10/23/2016)


    We are creating a data archive plan for one oof our big table which have more than 8 million records in jusst 8 months . Planning to...

  • RE: Stop query if it is taking too long

    mah_j (10/23/2016)


    Currently the index is just on invoiceuid,but because of lookup I test it with other columns too.But for both modes the logical io is high.

    The second execution...

  • RE: Stop query if it is taking too long

    mah_j (10/22/2016)


    I am so sorry,I asked my question in a wrong way.Yes I know that we have problem in one of our queries,and I am involved.(The logical io is...

  • RE: Stop query if it is taking too long

    GilaMonster (10/22/2016)


    Eirikur Eiriksson (10/22/2016)


    GilaMonster (10/22/2016)


    Set the app's timeout to 40 seconds (how depends how the app connects to SQL). What you ask is exactly what an application timeout is.

    This approach...

  • RE: Procedure Cache Hit Ratio

    MVP_enthusiast (10/22/2016)


    Last night I just migrated one of my busiest databases from SQL 2008 to 2012. Max server memory allocated to SQL Server In 2008 was 50000 and now in...

  • RE: Are the posted questions getting worse?

    Jeff Moden (10/22/2016)


    Eirikur Eiriksson (10/20/2016)


    Gazareth (10/19/2016)


    Eirikur Eiriksson (10/18/2016)


    Just had a Blast from the past

    😎

    First line: "Version 4.2 also lets you nest triggers"

    I didn't get any further due to blacking out;...

  • RE: Stop query if it is taking too long

    GilaMonster (10/22/2016)


    Set the app's timeout to 40 seconds (how depends how the app connects to SQL). What you ask is exactly what an application timeout is.

    This approach could possibly leave...

  • RE: Query to show duplicate values

    patelxx (10/22/2016)


    Many Thanks for the reply - it really worked for my results set, please can explain the below section of the code for my understanding:

    NUMBERED_INSTANCES AS

    (

    ...

  • RE: Stop query if it is taking too long

    mah_j (10/22/2016)


    Hello

    How can I stop the long running query that is run from application?

    I want to kill the queries that are running longer than 40 seconds.

    Do you want to automatically...

  • RE: Query to show duplicate values

    patelxx (10/22/2016)


    What query can I ran to show duplicate values? I know if I use the DISTINCT and UNION - this will remove duplicate values however I ONLY want...

  • RE: SSRS 2014 How to pass Multiple values with like operator in a parameter

    Hi

    and welcome to the forum,

    is there an option of doing this on the database side?

    😎

    There are several ways of passing multi value parameters, each has pros and...

  • RE: Are the posted questions getting worse?

    Gazareth (10/19/2016)


    Eirikur Eiriksson (10/18/2016)


    Just had a Blast from the past

    😎

    First line: "Version 4.2 also lets you nest triggers"

    I didn't get any further due to blacking out; came to 10 minutes...

  • RE: Remove almost Duplicate Records

    First a quick note, please read up on how to post questions on the forums as your data example has few problems, took longer to sort those than writing the...

Viewing 15 posts - 3,031 through 3,045 (of 8,761 total)