943,662 Members | Top Members by Rank

Ad:
  • Oracle Discussion Thread
  • Unsolved
  • Views: 4185
  • Oracle RSS
Feb 27th, 2006
0

i need help to select command

Expand Post »
i try to make a select table with condition now such as;
<?
...

$res = $conn->Execute("SELECT ID_SKENARIO,DATE_I FROM T_SCENARIO WHERE DATE_I = NOW");
While(!$res ->EOF)
{
echo $res->fields[0];
}
...

?>

what is the right synta for condition date is now ?
please help me...
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
aep91 is offline Offline
3 posts
since Feb 2006
Feb 28th, 2006
0

Re: i need help to select command

Hi,

Use 'sysdate' - without the quotes.

example:

select sysdate from dual
/

Kate
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
Kate Albany is offline Offline
71 posts
since Jun 2005
Mar 1st, 2006
0

It's work well

thank's very greatfull for Kate Albany
for U're solution..
it's work well


(--^^--)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
aep91 is offline Offline
3 posts
since Feb 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Oracle Forum Timeline: resultset updatable
Next Thread in Oracle Forum Timeline: sql help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC