Update the date in sqlite

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mjzuhair
    New Member
    • Feb 2013
    • 1

    Update the date in sqlite

    Code:
     String value1= txt_age.getText();
    String sql="update empoyeeinfo set id='"+value1+"';
    how to do this ?
    please help me
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    SQLite has no date time data types. It's all stored as strings. Use the DateTime() function to format the strings consistently.

    Comment

    Working...