Forum Replies Created

Viewing 15 posts - 21,826 through 21,840 (of 26,490 total)

  • RE: SFTP Problem and Solution

    *nix files end in a LF only.

    Just an FYI.

  • RE: RESULT SET NEEDED IN DIFF FORMAT

    The following is test code. Look at it and adapt it as needed for your purposes:

    declare @ClaimCat table(

    Claims int,

    Category char(2)

    );

    insert...

  • RE: RESULT SET NEEDED IN DIFF FORMAT

    raghu (3/24/2009)


    HI

    i have a proc which displays the result as

    CLAIMS CATEGORY

    12345 P1

    42342 ...

  • RE: CURSOR - WITH OUTPUT Clause

    It would help to see the actual code you are trying to replace. In addition changing from a cursor to a while loop doesn't really change much, it is...

  • RE: another problem I can't seem to work out.

    foxjazz,

    First, don't repost this thread, maybe we can get Steve to move it to a SQL Server 2005 forum.

    Second, since you are using SQL Server 2005, please post future questions...

  • RE: another problem I can't seem to work out.

    foxjazz,

    You post the DDL for your tables, which is good. What you also need to do is post the SQL code you are writing and having difficulty with, not...

  • RE: Are the posted questions getting worse?

    Roy Ernest (3/24/2009)


    Hahahaha Lynn, Maybe you should not have put Drop Table statements in the end. :hehe:

    Maybe you should edit your post and state that you should not use the...

  • RE: Are the posted questions getting worse?

    Is it me or are the people we are trying to help just getting dumber, or do we need to start commenting are code a lot more heavily?

  • RE: Subtracting a row from the next row

    You don't need to use the INSERT statements. Those were there to load the test table (dbo.TestTab1) with data, which was then used to load dbo.TestTab2 with the same...

  • RE: problems with distinct

    As I said before, we need the DDL (CREATE TABLE statement) for the table, sample data for the table (formated as INSERT statements so we may cut, paste, and run...

  • RE: problems with distinct

    suhailquadri (3/23/2009)


    Hey,

    following expects to display distinct rows but it is not.. can any body help me out..

    TID datatype is integer

    SELECT distinct TID, EID, ENAME, EDATE, UID, EISSUCCESSFUL, EREMARKS

    FROM ...

  • RE: Subtracting a row from the next row

    Here is some test code for you to start with and it does it all in T-SQL, not SSIS:

    -- Create initial test table that will be the source data

    create table...

  • RE: Are the posted questions getting worse?

    Jack Corbett (3/23/2009)


    Steve Jones - Editor (3/23/2009)


    He's short, but not Yoda short.

    I'll let Lynn post a closer photo if he likes.

    And what's your definition of short? Even though I'm...

  • RE: DateDiff if null

    You are missing the "end" for the case statement in your original code.

    try one of these:

    select

    (case when (leavedate is null)

    ...

  • RE: Are the posted questions getting worse?

    True, but for me there are three seasons of soccer, Fall, Spring, and Tournament with a definate break in there to relax. I haven't done indoor soccer and I...

Viewing 15 posts - 21,826 through 21,840 (of 26,490 total)