Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8850775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:58:45+00:00 2026-06-14T12:58:45+00:00

I am trying do a query on a table via jdbc in my java

  • 0

I am trying do a query on a table via jdbc in my java program.

I know there are three rows in that table.

I’ve got the resultset, and can read and process data of the first row. but when I try to move the resultset to next row, an exception is thorwn.

the exception pointed [SQL0181]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T12:58:46+00:00Added an answer on June 14, 2026 at 12:58 pm

    You can use the SQL Message Finder to look up message codes.

    The SQL0181 message text is:

    Value in date, time, or timestamp string not valid.

    This indicates you have a value in a row that can not be represented as an SQL Datetime value.

    It is not uncommon for legacy HLL programs to introduce these sorts of errors as they are capable of writing directly to the table row without the same validation enforced by the SQL interface.


    See also this previously asked SO question: Why am I getting a “[SQL0802] Data conversion of data mapping error” exception?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a query to grab all rows from Table 1, then
This is the query that i'm trying to achieve via active record: UPDATE `Customer_donations`
I'm trying to query a table, fetch all records, and save the result as
I am trying to query a table in PostgreSQL 8.4.2 server for to get
I'm trying to query a table with a column which is xml data with
I'm trying to query a mysql table which places its date in the following
I'm trying to query a set of buldings listed on a table, these buildings
I am trying to write the query for existing table data. TABLE_A and TABLE_B
i'm trying to do this query: SELECT * FROM TABLE WHERE value1='THIS'S AN EXAMPLE'.
Here is my query (I replaced table names with generic ones). I am trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.