Forum Replies Created

Viewing 15 posts - 9,991 through 10,005 (of 26,489 total)

  • RE: Need to re-order rows on table

    CELKO (8/17/2012)


    ... What you have described in your narrative is a deck of punch cards that you want to shuffle.

    ...

    And that could be exactly what he wants to...

  • RE: Improving query performance to detect first duplicate

    Using what you provided, I actually came up with the following.

    create table SaleLocationXref (

    SaleID int not null,

    LocationID int not null,

    constraint SaleLocationXref_PK primary key (SaleID,LocationID)

    );

    create table Sale (

    ...

  • RE: Avoiding Stored Procedures

    TravisDBA (8/17/2012)


    Indianrock (8/17/2012)


    At our company, security auditors are looking to see if anyone who has the term "developer" associated with their name has access to production data.

    That is...

  • RE: Improving query performance to detect first duplicate

    If there are 3 SalesID's with 1 item in common but the overlap is for only 2 of the SalesID's, does that need to be reported or does the over...

  • RE: Sending remote attachments using sp_send_dbmail

    dba0419 (8/17/2012)


    Thanks Lynn. However, the Windows Authentication test login I am using has full control of the remote share (read, write, create, delete).

    And the other windows logins that need...

  • RE: Return different query from user defined function

    Since you are using dynamic sql, this could also work:

    CREATE FUNCTION TEST_123(@PARAM nvarchar(50))

    RETURNS TABLE AS

    RETURN(

    SELECT

    ID

    ...

  • RE: Sending remote attachments using sp_send_dbmail

    dba0419 (8/17/2012)


    Hi,

    I am using Windows Authentication to send email using sp_send_dbmail.

    Sending email works if I do not try to add a remote attachment. It also works if I try...

  • RE: Finding an LSN - Blind log shipping

    cphite (8/17/2012)


    I've been tasked with trying to set up log shipping in a blind scenario... that is, the source server and the target server cannot communicate with one another...

  • RE: group data by week

    Still don't have what is needed to really help. Have you read that article yet?

  • RE: group data by week

    ChrisM@Work (8/17/2012)


    jfowler 10337 (8/17/2012)


    ok, thanks. I was hoping it would be something as simple as looking at the code and changing something in the grouping. I've inherited the...

  • RE: group data by week

    I was taking another look at your code, and I'm sorry but it isn't a matter of just looking at it and recommending some changes. You have several derived...

  • RE: group data by week

    jfowler 10337 (8/17/2012)


    ok, thanks. I was hoping it would be something as simple as looking at the code and changing something in the grouping. I've inherited the code,...

  • RE: Does Not Allow Multiple Updates Using A Sub Query

    Sean Lange (8/17/2012)


    Lynn Pettis (8/17/2012)


    Stylez (8/17/2012)


    Hi Lynn. Yes, I was trying to Set All The Dates To January 1 (For Data Scrubbing Purposes). i am also thinking if a trigger...

  • RE: group data by week

    jfowler 10337 (8/17/2012)


    i just need things grouped by week starting with Monday and ending on Thursday.

    That's nice. I charge $200.00 an hour with a minimum 8 hour charge to...

  • RE: Concatenate Data

    Here is a sample piece of code. Without the details of your tables and some sample data it is a bit difficult to modify it to work for you.

    WITH...

Viewing 15 posts - 9,991 through 10,005 (of 26,489 total)