I am running a query from some C# code.
My problem is I don't know how to create a string in the correct format to include as part of my select statement.Code:select someColumn from someTable where CurrentDate-someDate > ElapsedTime
The format of the date column in sql server is:
mm/dd/yyyy hh:mm:ss AM/PM


LinkBack URL
About LinkBacks




Reply With Quote








Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum