473,395 Members | 1,762 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,395 software developers and data experts.

How to change a database field with date?

I have to change one table value with the date.If the date is passed away then lets say it would contain inactive else active.
And the problem is that I have to do it automatically in my project.Not on any action.
can anyone help me????
Thanks in advance.
Jan 17 '11 #1
1 1215
JKing
1,206 Expert 1GB
Have you taken a look at triggers for mysql?
Jan 19 '11 #2

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

Similar topics

6
by: Greg Bryant | last post by:
Hi folks - I have a form that displays a value pulled from a database field. <?php echo "<input type=text name='storename' value='$storename'>"; ?> I noticed that if $storename contains...
0
by: Wole | last post by:
Is there a way to monitor a field in a database so that when the value in the field changes an event in a visual basic application is fired? I'm developing a visual basic application that needs to...
2
by: Ray | last post by:
I tried to change the field name in a query using "New Name: ". It did not work at all and just display the caption of the Field Name. Is it possible to change the field name or use a new caption...
2
by: Greg Strong | last post by:
Hello All, Is it possible to change table field lookup properties in code? I've been able to change other field properties in code, however so far no luck with field lookup properties. What...
2
by: donpro | last post by:
Hi, I have a varchar field in a MySQL database that contains a line of text like so: "This is a line if text" The double quotes are included in the database field. I cannot seem to...
4
by: sharmilah | last post by:
Hi all I want to save the current date in a database field in the following format dd/mm/yyyy for example 18/06/2007. How can i do this. The following is code I've used to assign nulls to my...
10
by: dlrider | last post by:
Hello, I don't know what this would be called, and searches for the subject above are not useful. FAQ did not seem to provide anything either. My inherited application already uses Javascript for...
1
by: BulbFresh | last post by:
Hi, I have imported some data to a table, one field is whose values are in the form "dd/mm/yyyy 00:00:00" however I would like to run a command (possibly just after importing the table) to change...
1
by: newphpcoder | last post by:
I changed my database from mysql 4.1.10 to mysql 5.0 and I encountered error in my calendar event page. The output of my calendar date was change instead of date it becomes “>” and also when I press...
1
by: saifulhaque | last post by:
Dear How can add database field dynamically into Crystal report using C#. I want to get change crystal report with respect to Database field.
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: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.