Search Results

Showing results 1 to 15 of 15
Search took 0.02 seconds.
Search: Posts Made By: paradox814 ; Forum: MySQL and child forums
Forum: MySQL Nov 2nd, 2006
Replies: 1
Views: 5,804
Posted By paradox814
INSERT INTO test (code1) VALUES (NULL)

I believe if column code1 is PRIMARY or UNIQUE then there can be only one row where it is NULL
Forum: MySQL Apr 15th, 2006
Replies: 2
Views: 39,117
Posted By paradox814
the biggest difference is an unsigned number cannot be negative (just as stated above)

but the benefit of usign an unsigned number is that you can have a greater range of positive numbers.
...
Forum: MySQL Apr 14th, 2006
Replies: 3
Views: 2,260
Posted By paradox814
well there are many things you need to tell us first, what language you plan on using the integrate the database with is a biggie, eg: PHP, ASP, JSP, CFM, etc...

you also need to figure out ALL...
Forum: MySQL Apr 13th, 2006
Replies: 1
Views: 4,408
Posted By paradox814
ok so I have two tables, and I believe I need an outer join

lets say these are them: CREATE TABLE t1 (
xid INT PRIMARY,
data1 VARCHAR(50) );

CREATE TABLE t2 (
xid INT...
Forum: MySQL Dec 26th, 2005
Replies: 2
Views: 3,255
Posted By paradox814
you might also want to put LIMIT 5 on there at the very end to just retrieve the last 5 results
Forum: MySQL Jun 13th, 2005
Replies: 5
Views: 10,096
Posted By paradox814
you need to create a table, ie this would be an example:

CREATE TABLE email_list (
email VARCHAR(75) NOT NULL,
name VARCHAR(75) NOT NULL,
PRIMARY KEY(email)
);

then...
Forum: MySQL Jun 10th, 2005
Replies: 6
Views: 28,716
Posted By paradox814
is there a way to INSERT AND SELECT unique_id at the same time? or does it have to be done as two seperate queries
Forum: MySQL Jun 6th, 2005
Replies: 6
Views: 28,716
Posted By paradox814
i want to generate a unique primary key, something similar to the auto increment feature, but i do not want it to be auto increment.

The reasoning for this is: this table will have rows deleted by...
Forum: MySQL May 10th, 2005
Replies: 1
Views: 2,288
Posted By paradox814
this is way beyond the scope of mysql, you should be looking into jsp, php or asp depending on your sever type

your answer will probably be use some sort of cookies and/or sessions
Forum: MySQL Mar 20th, 2005
Replies: 1
Views: 2,173
Posted By paradox814
<input type="text" name="field1" value="" />
<input type="text" name="field2" value="" />
<input type="text" name="field3" value="" />
Forum: MySQL Mar 20th, 2005
Replies: 5
Views: 2,347
Posted By paradox814
perhaps you are not logged in with the correct username/password combination

if you do have a correct user name/password then...
maybe the one you have doesn't have access to SELECT statments on...
Forum: MySQL Feb 14th, 2005
Replies: 1
Views: 2,602
Posted By paradox814
you first need to connect to the database first, place the following anywhere before anyof your database queries


$db = mysql_connect("localhost", $user, $pass) or die ("could not establish a...
Forum: MySQL Jan 17th, 2005
Replies: 5
Views: 14,110
Posted By paradox814
We would need more information... try closing the session and creating a new one (or if you use cookies renew them with the new information)
Forum: MySQL Dec 14th, 2004
Replies: 2
Views: 2,719
Posted By paradox814
yes but I was hoping for an effecient way to do this! I have almost 300 tables in 1 database so as you can see that really wounldn't be an ideal search method as check table would be much quicker...
Forum: MySQL Dec 10th, 2004
Replies: 2
Views: 2,719
Posted By paradox814
is there a way to check the exsistance of a table? I want something similar to this:
SELECT COUNT(*) FROM table1

but for a table (in a given database), not rows within a table

I know of...
Showing results 1 to 15 of 15

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC