Forum Replies Created

Viewing 15 posts - 586 through 600 (of 3,232 total)

  • RE: Case statement?

    I didn't try to retrofit this into your query, but this example should show you one way to get the results you are looking for. Basically, this allows you...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: The string geting truncated

    So the data source is a text file? Is it using a flat file connection manager? If so, open up the connection manager and go to the Advanced...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Table Partitioning - Better Performance

    This is yet another example of, 'it depends'. I wouldn't say to stay away completely as partitioning definately has it's place and advantages.

    Here's[/url] a great article on...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Case statement?

    From what you've described, your code should still return a 'Y'. See this example:

    DECLARE @Table TABLE (Col1 varchar(10))

    INSERT INTO @Table

    SELECT 'CC' UNION ALL

    SELECT 'CC' UNION ALL

    SELECT NULL

    SELECT MAX(CASE WHEN...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: any pitfalls of cross-database triggers?

    I would recommend any option that does not involve triggers. Triggers fire within the scope of the transaction so using a trigger to populate a table in another database...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: I want to get auto email, if the replication latency count is greater than 2 min.

    Well, first you'll need to figure out which performance counter that you'd like to monitor. I'll leave that to you. There are a few perfmon counters that are...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: I want to get auto email, if the replication latency count is greater than 2 min.

    I believe that there's a performance counter for replication latency, correct?

    If so, create an alert for that Performance Counter Object and set it to file for > 2 min.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Is there a way to ignore scehdule job error?

    To create an OnError Event Handler:

    1. On the Control Flow, set the focus on the task that you would like to create the event handler on.

    2. With the task selected,...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Trouble Adding Local Client

    Sounds good. I'm glad you've got it working.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Trouble Adding Local Client

    What exactly are you trying to do? Are you getting an error, if so, what is it?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Is there a way to ignore scehdule job error?

    You say that the job

    failed at the end and stop processing all other files

    What task did it fail on? Since you have this inside a loop container, you...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Query for yesterday's records shifted one hour

    So you want 1 day's worth of data beginning with yesterday >= 1:00 AM and up until today <= 12:59 PM?

    This should do it:

    DECLARE @Table TABLE (RowID int IDENTITY(1,1) NOT...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Where are you?

    We went there about 5 years ago, back when we only had 2 kids, for a family vacation. We stayed in Rapid City and hit Rushmore, Reptile Gardens, Crazy...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Where are you?

    It's in Keystone, SD. The nearest 'big' town is Rapid City, SD, which is about 1/2 hour away. I was born just outside of Rapid City, at Elsworth...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Where are you?

    I figured so, but this thread is now so long I didn't want to go back and re-read them all.

    I get to SF at least monthly (I'm in...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

Viewing 15 posts - 586 through 600 (of 3,232 total)