troubleshooting Question

HOW to reterive specific datetime values from sybase iq

Avatar of welcome 123
welcome 123 asked on
Microsoft SQL ServerSybase DatabaseDB2
4 Comments1 Solution2906 ViewsLast Modified:
select * from TEMP_TABLE  
WHERE
DATE_CREATED <= dateformat(convert(datetime,'05/8/2014 11:23 AM'),'MM/DD/YYYY HH:MM AM')

> Script lines: 1-3 --------------------------
 SQL Anywhere Error -1001014: Data conversion failed
-- (dfe_HDBValue.cxx 373)
 Msg: 21, Level: 14, State: 0
 Line: 0

I am trying this syntax but this syntax is not working, can anybody help on this, this is kind of urgent for me.

Thanks & Regards,
Sailaja
ASKER CERTIFIED SOLUTION
alpmoon
Sybase DBA

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros