Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)

  • RE: FYI: Use multiple studying sources

    I agree 100% with your assessment. I studied nightly using the official MS course books for the 70-431. I have been using SQL Server regularly since 2003. I felt very...

  • RE: Advise on date conversion

    Thank you for the posts. I'll give it a whirl this afternoon. It high time I get started with triggers.

  • RE: Advise on date conversion

    Would something like the post above work in a trigger?

  • RE: Advise on date conversion

    This is actually an export from the UPS WorldShip software. It exports data directly to one of my tables using an ODBC connection. I tried a computed column using CONVERT(datetime,SUBSTRING(CollectionDate,1,8))...

  • RE: passing comma delimited string

    This is true, max indicates that the maximum storage size is 2^31-1 bytes. You should have no trouble passing very large strings of data.

  • RE: Get Current Date

    To elaborate further, if you are looking to get the current date in a specified format use:

    SELECT CONVERT(CHAR,GETDATE(),x) AS CurrentDate

    where x equals a style value. See the list of...

  • RE: Selecting last two orders

    This has been a great experience. It's nice to converse with other developers/DBA's for a change. I have been the sole IT guy for a small business for 7 years...

  • RE: Selecting last two orders

    Sweet. Works like a charm. I also like how you've added number of days as a parameter. I can add days as a selection on our tracking site and pass...

  • RE: Selecting last two orders

    Very nice. I'll start playing with the solution and see what I get. Thank you for taking the time to work on this.

  • RE: Selecting last two orders

    RE: WITH TIES. This produces the same result I received before placing the DISTINCT keyword in the TOP query. I apologize if I didn't explain clearly what I am trying...

  • RE: Selecting last two orders

    For anyone viewing this post, I finally have a solution. It may not be the best solution but it works for now. If anyone can see a way to simplify...

  • RE: Selecting last two orders

    I have to throw a little kink in the issue. It appears that TOP n when evaluating datetime fields always uses the time portion in addition to the date. Above...

  • RE: Selecting last two orders

    Thank you for the reply. Both options above still only return one record for each createdate. I do like your approach though keeping it simple. Any thoughts on why only...

  • RE: Selecting last two orders

    I think I have this figured out. It looks like the time portion of the createdate field was getting in the way. I will do more testing but here is...

  • RE: Selecting last two orders

    Internally we have an order id but this is information exported from a UPS system. I did try the order by and it didn't help. I think I'm close with...

Viewing 15 posts - 1 through 15 (of 17 total)