Ask a Question related to Coldfusion Database Access, Design and Development.
-
Scooby Doobie Doo #1
How do I ignore the time value in a column when runningquery?
I have a query SELECT * FROM Inventory WHERE dateentered =
'9/18/2003' that won't run, because it also has a time value in that column,
so of course it's not matching, how do I write that query to ignore time values
and return the rows that match that date?
Scooby Doobie Doo Guest
-
Inserting both date AND time into one timestamp column
Probably something really easy that i'm missing here.... I have a form with both a date field and a time field for a users sessions info. User... -
Accessing value of bound column at run time
I have a DataGrid that has a checkbox and a bound column. When the user clicks a button, I want to iterate through all the items in the datagrid and... -
Formatting a time field to 24 hour time (Military time) in the Datagrid
Anyone know how to do this? -
Writing time() to MySQL column
> I have a table that has a timestamp - when I created the table column, I my insert. and and This is the maximum value you can store in a... -
Button Column added at run time does not seem to trigger SelectIndexChanged Event.
I have the following button column added to the datagrid. It does not seem to trigger SelectIndexChanged. Is there something else I have to do? ... -
Scooby Doobie Doo #2
Re: How do I ignore the time value in a column whenrunning query?
Nevermind, figured it out.
WHERE convert(varchar(10), DATEENTERED, 101) = '03/03/2005'
fixed the problem..
Scooby Doobie Doo Guest
-
fidibidabah #3
Re: How do I ignore the time value in a column whenrunning query?
If lowering the characters effects the query for other usage in undesired ways,
you can also do it like:
WHERE dateentered LIKE '%9/18/2003%'
That should select everyone with that date in it, regardless of what's in
front of it or behind it (note the wildcards)
fidibidabah Guest



Reply With Quote

