Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. howardd21

    DateTime acting strange

    Thanks. That is helpful to know, and I imagine faster and more maintainable. David
  2. howardd21

    DateTime acting strange

    Hey! I got it. I was being obtuse. I ended up with: ======================= create proc uspRestoreKeyWords ( @UserID varchar(10), @DateDeleted VarChar(20)) as Declare @StartDate VarChar(40) Declare @EndDate VarChar(40) Select @StartDate = @DateDeleted + ' 00:00:00' Select @EndDate =...
  3. howardd21

    DateTime acting strange

    Thanks for the quick response! I see where it is dong this, and if I run this query: Select * From CTKeyWords_Del Where Date_Deleted Between '1997/07/15' + ' 00:00:00' AND '1997/07/15' + ' 23:59:59' I get back the 5 rows I expected. But I need to pass a date to a Stored proc, and I am...
  4. howardd21

    DateTime acting strange

    Here is one that is odd to me, although I am sometimes a bit nuts :) I have a table with a DateTime column I am querying on. IF I run this query: Select * From CTKeyWords_Del Where Date_Deleted < '1997/07/16' I get 5 records back for July 15, 1997. But if I run this query: Select * From...

Part and Inventory Search

Back
Top