On Tue, 19 Dec 2000, Jeff MacDonald wrote:
> hi folks..
>
> i want to do this to a datetime field..
>
> select foo from table where substr(datefoo,1,11) = '2000-12-14';
And why not to_char()?
Karel
- [SQL] substring .. Jeff MacDonald
- RE: [SQL] substring .. Francis Solomon
- Re: [SQL] substring .. Stephan Szabo
- Re: [SQL] substring .. Josh Berkus
- Re: [SQL] substring .. Joel Burton
- Re: [SQL] substring .. Tulio Oliveira
- Re: [SQL] substring .. Robert B. Easter
- Re: [SQL] substring .. Karel Zak
- Re: [SQL] substring .. Jie Liang
