473,387 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Update the date in sqlite

Expand|Select|Wrap|Line Numbers
  1.  String value1= txt_age.getText();
  2. String sql="update empoyeeinfo set id='"+value1+"';
  3.  
how to do this ?
please help me
Feb 4 '13 #1
1 1610
Rabbit
12,516 Expert Mod 8TB
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

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

Similar topics

4
by: fwiest | last post by:
Could someone help me with the most efficient way to update a date field. I have a field with Date and Time in it but I want to update it with only the Date and strip off the time. Any ideas for...
1
by: DraguVaso | last post by:
Hi, Yhis is a problem that everybody knows I guess: When you INSERT our UPDATE a date in an Access-database half of the time you date changes. For example: you want to input two dates: 13th of...
5
by: matthew.newsome | last post by:
I have 4 fields on a form, they are simple drop downs, which can be changed throughout the life of a record. I have a date field that users change when they changeone of the four drop downs,...
0
by: Sambhav | last post by:
Hi I am using MS sql right now I m felling up the data into the database using a software called DTM data generator so my problem is I have filled all the dates in 4 different columnsin a single...
1
by: Sambhav | last post by:
Hi I am using MS sql right now I m felling up the data into the database using a software called DTM data generator so my problem is I have filled all the dates in 4 different columnsin a single...
4
by: EOHS | last post by:
I use Access 2002. I created a form that updates when a patient gets a Flu Vaccine. I would like to simply check a checkbox and the form should take todays date and store it in the field FLUDATE...
2
by: ssakhamuri | last post by:
hai guys, i want to update the date in a table like i just want to update the year of the of thie date in table for example if rows are like this, 2006-5-14 00:00:00,2005-4-14 00:00:00 then i...
4
by: Dr Al | last post by:
I have a project which requires the batch import of customer contact information, print mailing labels for those customers who have their date of first letter field in the database set to null, and...
1
by: sibusiso | last post by:
HI Can Any one help I have extra field on a table like FDate, FYear, FMonth, FDay, FDatename I have a triger that I will update this field every time transaction hapened, this field must...
9
by: Raza Zahur | last post by:
Hi all, I've googled and googled but I can google no more, so I am here to ask for help on an issue I am having. I have a macro that runs a series of queries. Before the macro can be run, the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.