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

Fw: Fw: check

I can't use it....for example i have to create a column that accept values
between 1 to 120...i can't enumerate all of them....or i have to accept a
value different from NULL if an other column has a certain values, otherwise
the first must be NULL, it's impossible to use enum to do this!
----- Original Message -----
From: "Michael Brunson" <br*****@intercosmos.com>
To: "Alex82" <al*****@tin.it>
Cc: <my***@lists.mysql.com>
Sent: Tuesday, July 15, 2003 12:13 AM
Subject: Re: Fw: check
Use an ENUM()

On Mon, 14 Jul 2003 23:57:56 +0200, "Alex82"
<al*****@tin.it> wrote:

| so what can i do to make a column accetp only certain values...there are
any
| other solutions?
| ----- Original Message -----
| From: "Egor Egorov" <eg*********@ensita.net>
| To: <my***@lists.mysql.com>
| Sent: Monday, July 14, 2003 1:58 PM
| Subject: Re: check
|
|
| > "Alex82" <al*****@tin.it> wrote:
| > > i have a problem with the check option
| > > for example
| > > create table ex
| > > (
| > > t INT check(t<4)
| > > );
| > > but even if i use check(t<4) i can insert 5,6,7.....all values!:(
| > > why?
| > > Ale
| > > p.s. I'm using 4.0.12 version
| >
| > CHECK clause does nothing. It's just parsed.
| >
| >
| >
| > --
| > For technical support contracts, goto
https://order.mysql.com/?ref=ensita
| > This email is sponsored by Ensita.net http://www.ensita.net/
| > __ ___ ___ ____ __
| > / |/ /_ __/ __/ __ \/ / Egor Egorov
| > / /|_/ / // /\ \/ /_/ / /__ Eg*********@ensita.net
| > /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
| > <___/ www.mysql.com
| >
| >
| >
| >
| > --
| > MySQL General Mailing List
| > For list archives: http://lists.mysql.com/mysql
| > To unsubscribe: http://lists.mysql.com/mysql?unsub=al*****@tin.it
| >

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=al*****@tin.it

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
0 1550

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Craig Bailey | last post by:
Someone please explain what alternate universe I fell into this afternoon when PHP started telling me that 2 doesn't equal 2. Not sure about you, but when I run this, it tells me 59001.31 doesn't...
2
by: Askari | last post by:
Hi, How do for do a "select()" on a CheckButton in a menu (make with add_checkbutton(....) )? I can modify title, state, etc but not the "check state". :-( Askari
2
by: Edward | last post by:
The following html / javascript code produces a simple form with check boxes. There is also a checkbox that 'checks all' form checkboxes hotmail style: <html> <head> <title></title> </head>...
7
by: Tony Johnson | last post by:
Can you make a check box very big? It seems like when you drag it bigger the little check is still the same size. Thank you, *** Sent via Developersdex http://www.developersdex.com ***...
2
by: Travis.Box | last post by:
I have an MS Access userform with 16 Check Boxes. Each of the checkboxes has a different option value, which coincides with the Check Box name (eg. cb01.OptionValue = 1). At the bottom of the...
1
by: scprosportsman | last post by:
Please help guys, i am trying to set up a database here at work and im fairly new to access in terms of writing functions and queries and stuff. I have 2 different places on my design that will...
2
by: Chris Davoli | last post by:
How do you enable a check box in the GridView. I selected Checkbox Field in the Columns of the GridView, and the check box shows up in the Grid view, but it is disabled. How do I enable it so I can...
16
by: Brian Tkatch | last post by:
Is there a way to check the order in which SET INTEGRITY needs to be applied? This would be for a script with a dynamic list of TABLEs. B.
5
by: starke1120 | last post by:
Im creating a check in – check out database for RF guns. I have a table that contains models. ID (primary key) Model A table that contains Gun Details ID (primary key) Model_id...
1
by: ghjk | last post by:
my php page has 7 check boxes. I stored checked values to database and retrive as binary values. This is the result array Array ( => 0 => 1 => 0 => 1 => 0 => 0 => 1 ) 1 means checked....
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
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: 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:
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.