Forum Replies Created

Viewing 15 posts - 24,196 through 24,210 (of 26,490 total)

  • RE: SSIS - type cast to MM/DD/YYYY from YYYYMMDD

    Take a look at this little bit of test code and see if you can use what it demonstrates (at least it works on my system here at work).

    declare @ADate...

  • RE: Performance impact of using functions in a join

    And, to throw more into the mix, actual performance in the OP's environment may be different due to storage/indexing on the tables.

    I guess the best way to test would be...

  • RE: Performance impact of using functions in a join

    GSquared,

    Can you test it with the additional criteria in the original query: where t.fiscal_year = 2008?

    This may (or may not) make a difference in the queries.

    I'd try, but I don't...

  • RE: Performance impact of using functions in a join

    Be sure to test both ways. I'd be interested in knowing which works better/easier for you.

    😎

  • RE: Performance impact of using functions in a join

    This is how I would rewrite the query you originally posted:

    SELECT

    eventId

    ,startTime

    ...

  • RE: SQL Server Response times slow

    True, if running x64, you don't need the /3GB switch, but the OP didn't indicate what version they are running.

    We are running a mixed environment ourselves; SQL Server 2005 x32...

  • RE: varchar to datetime

    Madhivanan (9/24/2008)


    Lynn Pettis (9/24/2008)


    There is another side to this. If the date fields are currently varchar(8) with the dates formatted yyyymmdd, what effect will changing the data type to...

  • RE: SQL Server Response times slow

    Glen (9/24/2008)


    Suggestion: upgrade the RAM to 4 GB. Cheap and effective.

    Agree with the above, but be sure to add the /3GB switch to the boot.ini file or the extra memory...

  • RE: query - dates

    Adrian Nichols (9/24/2008)


    I need a sample query to only lift record 2 and 4 as the others are not year long policies.

    Lynn,

    I believe that the records, 2 and 4, correspond...

  • RE: varchar to datetime

    There is another side to this. If the date fields are currently varchar(8) with the dates formatted yyyymmdd, what effect will changing the data type to datetime have on...

  • RE: query - dates

    I'm getting confused. The original post asked to find records for year-long policies, yet the post with sample data seemed to be asking to find the policies that AREN'T...

  • RE: Rewrite an IF statement

    Looks good to me.

    😎

  • RE: Find a change in address in a result set

    create table #TestTab (

    RowNum int,

    AddressIdent int,

    Address1 varchar(50),

    DateChanged datetime);

    insert into #TestTab (RowNum, AddressIdent, Address1, DateChanged)

    select...

  • RE: Find a change in address in a result set

    Here is another way to skin a cat. I'm sure some of the gurus out there may come back and say this is still rebar, but it eliminates a...

  • RE: query - dates

    Actually, what I think is that the OP needs to post additional information, including sample data and expected results. This would greatly assist in determining a solution.

    😎

Viewing 15 posts - 24,196 through 24,210 (of 26,490 total)