| From: | Rohit Suman <handsome_94(at)yahoo(dot)com> |
|---|---|
| To: | pgsql-sql(at)postgresql(dot)org |
| Subject: | ERROR: operator does not exist: date ~~ unknown |
| Date: | 2009-04-12 05:58:37 |
| Message-ID: | 60074.805.qm@web33104.mail.mud.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
Hi
I've a table bins in which I've a column named "Date In" which stores values of "Date" type. I've postgresql 8.3.5
Now when I execute query " select * from bins where "Date In" like '%'; "I get the folowing error :
SQL error:
ERROR: operator does not exist: date ~~ unknown
LINE 1: select * from bins where "Date In" like '%';
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
In statement:
select * from bins where "Date In" like '%';
Please help...I'm stuck for like 3-4 hours now on this X_X
Rohit
Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel Stehule | 2009-04-12 07:36:16 | Re: ERROR: operator does not exist: date ~~ unknown |
| Previous Message | Jasen Betts | 2009-04-10 22:41:54 | Re: SQL to Check whether "AN HOUR PERIOD" is between start and end timestamps |