By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,654 Members | 1,517 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,654 IT Pros & Developers. It's quick & easy.

Update the date in sqlite

P: 1
Expand|Select|Wrap|Line Numbers
  1.  String value1= txt_age.getText();
  2. String sql="update empoyeeinfo set id='"+value1+"';
how to do this ?
please help me
Feb 4 '13 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 10K+
P: 12,421
SQLite has no date time data types. It's all stored as strings. Use the DateTime() function to format the strings consistently.
Feb 4 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.