Ask a Question related to ASP Database, Design and Development.
-
Mark #1
Error when entering numbrs and letters in a string
hello. when i enter a string of numbers via an html form to a
postgresql db, everything is fine. however, when numbers are combined
with letters in the same input box, i get the following error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
Error while executing the query; ERROR: parser: parse error at or near
"da5c247"
any thoughts?
m
Mark Guest
-
String Index Out of Range Error on String ComparisonQuery
I am running CFMX 6.1 on Linux connecting to a PostgreSQL database server. I am performing a simple SELECT * where somestring = thisstring When I... -
LWP error string
Howdy All, Sorry for leaving the suubject out previously! With LWP or LWP::UserAgent I can check if the request was ok and then print the... -
An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888)
Hello, on one of our customers servers we get following error on first ASPX-page: An error occurred while try to load the string resources... -
calculating unique letters in string
Question: Is it possible to calculate the unique letters in a string? for example boat got 4 unique letters, but feather got 6 unique letters from... -
NSNumberFormatter doesn't stop a user entering letters?
Hi, I have a NSPanel with a NSForm which has some NSNumberFormatters attached to it's NSFormCells. It seems that the NSNumberFormatter doesn't... -
Aaron Bertrand - MVP #2
Re: Error when entering numbrs and letters in a string
How about showing us the actual query you're trying to run???
"Mark" <markbudash@hotmail.com> wrote in message
news:4f210449.0308061044.69eb9fd1@posting.google.c om...> hello. when i enter a string of numbers via an html form to a
> postgresql db, everything is fine. however, when numbers are combined
> with letters in the same input box, i get the following error:
>
> Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
> Error while executing the query; ERROR: parser: parse error at or near
> "da5c247"
>
> any thoughts?
>
> m
Aaron Bertrand - MVP Guest
-
John Beschler #3
Error when entering numbrs and letters in a string
Sounds like your query is treating the value from the form
as a number. When you add the letters in the form it
becomes a string; however, your query is still expecting a
number. If you are going to accept strings from the form,
you must delimit them using what ever delimiter postgres
expects for strings.
John
to a>-----Original Message-----
>hello. when i enter a string of numbers via an html formare combined>postgresql db, everything is fine. however, when numberserror:>with letters in the same input box, i get the followingerror at or near>
>Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
>Error while executing the query; ERROR: parser: parse>"da5c247"
>
>any thoughts?
>
>m
>.
>John Beschler Guest



Reply With Quote

