User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Oracle section within the Web Development category of DaniWeb, a massive community of 375,244 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,282 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Oracle advertiser:
Views: 2371 | Replies: 2
Reply
Join Date: Feb 2006
Location: bandung - indonesia
Posts: 3
Reputation: aep91 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aep91's Avatar
aep91 aep91 is offline Offline
Newbie Poster

Help i need help to select command

  #1  
Feb 27th, 2006
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...
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2005
Posts: 71
Reputation: Kate Albany is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Kate Albany Kate Albany is offline Offline
Junior Poster in Training

Re: i need help to select command

  #2  
Feb 28th, 2006
Hi,

Use 'sysdate' - without the quotes.

example:

select sysdate from dual
/

Kate
Reply With Quote  
Join Date: Feb 2006
Location: bandung - indonesia
Posts: 3
Reputation: aep91 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aep91's Avatar
aep91 aep91 is offline Offline
Newbie Poster

It's work well

  #3  
Mar 1st, 2006
thank's very greatfull for Kate Albany
for U're solution..
it's work well


(--^^--)
(--^^--)
BetmeN
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Oracle Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Oracle Forum

All times are GMT -4. The time now is 4:36 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC