Bob Sawyer wrote:
> SO --- how do I get distinct dates from an Oracle table?
The easiest way is to make a function that you can use time and time
again. I'm not remotely familiar with oracle, but below is the function
sysntax for the fn_dateonly() function i use on MSSQL
create function system_function_schema.fn_dateonly(@date datetime)
returns varchar(12)
with schemabinding
as
begin
return convert(varchar(12), @date, 101)
end
go
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/HKFolB/TM
--------------------------------------------------------------------~->
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/