Forum Replies Created

Viewing 9 posts - 59,056 through 59,065 (of 59,065 total)

  • RE: datetime conversion

    Actually, I think you're using the wrong function... in most cases, CAST and CONVERT work the same way...
    ...except for dates and then CONVERT works very nicely for converting DateTime values...

  • RE: sp_executesql Question

    First, thanks for pointing out the difference there, Butch.  Guess I better get some glasses!

    And, thank you pnewhart, for pointing out just exactly...

  • RE: sp_executesql Question

    Maybe it's just me and I really am going blind... would someone tell me what the difference is between the two lines that pnewhart put in his last post?

  • RE: Help! Delete operation is VERY SLOW

    My experience has been that 2 DELETE queries will run much faster than a single query with a BOOLEAN "OR".  Also, even with the "SIMPLE" recovery method set, the deletes...

  • RE: Removing the time from a datetime database field

    As I alluded to in my original posting...

    Casting (or Converting) the date as INT or BIGINT may give you the wrong (next day)...

  • RE: sp_executesql Question

    The basis of sp_executesql is that it is calling a Stored Procedure in your database, somewhere.  Stored Procedures are "precompiled". That is, the execution plan for the Stored Procedure was created...

  • RE: Removing the time from a datetime database field

    Jason,

    Just in case you still don't have an answer...

    If you want to do the join as if TIME where not included in the...

  • RE: How to convert vertical records to horizontal?

    Be careful... if any NULLS, answer will be NULL unless "Concatenate Nulls Yields Nulls" is turned off.

  • RE: How to convert vertical records to horizontal?

    Frank,

    Don't be so quick to give up on the data layer.  I had a similar challenge... I've posted ALL the code including the example data and table creation.  The actual...

Viewing 9 posts - 59,056 through 59,065 (of 59,065 total)