954,123 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

i need help to select command

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...
:sad:

aep91
Newbie Poster
3 posts since Feb 2006
Reputation Points: 10
Solved Threads: 0
 

Hi,

Use 'sysdate' - without the quotes.

example:

select sysdate from dual
/

Kate

Kate Albany
Junior Poster in Training
71 posts since Jun 2005
Reputation Points: 10
Solved Threads: 1
 

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


(--^^--)

aep91
Newbie Poster
3 posts since Feb 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You