Forum: MySQL Feb 23rd, 2007 |
| Replies: 2 Views: 8,962 if the column is indexed, it should only scan the rows included in the where clause |
Forum: MySQL Feb 7th, 2007 |
| Replies: 6 Views: 3,617 I agree, I think you will run into hardware limitations probably long before you run into software ones. Plus, I don't think there is a size limitation on the database so much as on a specific... |
Forum: MySQL Feb 6th, 2007 |
| Replies: 6 Views: 3,617 what do you mean by the database storage capacity? |
Forum: MySQL Jun 13th, 2006 |
| Replies: 2 Views: 6,273 what is your schema? do you have date fields in all the tables that need to be purged |
Forum: MySQL May 23rd, 2006 |
| Replies: 1 Views: 6,370 well, first of all, you need a field that indicates whether they are administrator or not
i would suggest something like
admin tinyint NOT NULL Default 0
set it to 1 for administrators
... |
Forum: MySQL May 23rd, 2006 |
| Replies: 2 Views: 2,425 well, depending on the situation, there are many ways you could do it, one would be:
tblFruit
fruitID int
fruitName varchar(25)
tblFruitSub1
Sub1ID int
fruitID int //foreign key to... |
Forum: MySQL May 22nd, 2006 |
| Replies: 1 Views: 1,211 well, what does line 1 look like in your code |
Forum: MySQL May 9th, 2006 |
| Replies: 2 Views: 3,072 it's will be verydifficult to search every field of every table for the input.
I suggest doing something like a drop down box with which fields to search and then a text box with what to search for.... |
Forum: MySQL May 4th, 2006 |
| Replies: 4 Views: 1,454 no problem. Let me know if you need any more help with them. |
Forum: MySQL May 4th, 2006 |
| Replies: 4 Views: 1,454 now for when you might want to do that.
Lets say you have started weekly and a monthly newsletter for this site, with the members having the option to sign up for either, neither or both.
Now... |
Forum: MySQL May 4th, 2006 |
| Replies: 4 Views: 1,454 left joins will return all rows in the initial table regardless of whether or not they have a corresponding entry in the joined table. for rows that do not have a corresponding entry, null will be... |
Forum: MySQL Apr 26th, 2006 |
| Replies: 1 Views: 1,190 http://www.w3schools.com/sql/default.asp |
Forum: MySQL Apr 19th, 2006 |
| Replies: 1 Views: 4,369 don't use mysql buth this works in ms-sql:
select t1.xid,t1.data1, t2.data2 from t1
right join t2 on
t1.xid = t2.xid |
Forum: MySQL Apr 19th, 2006 |
| Replies: 1 Views: 2,275 I don't use mysql but both of these work in ms-sql:
query 1:
declare @buyerid int
set @buyerid = 2
declare @creds int
declare @debs int
set @creds =(select sum(credits) from Transactions... |
Forum: MySQL Feb 17th, 2006 |
| Replies: 6 Views: 5,974 well to start off with, you are passing recaffected as a parameter to conn.execute, but you never set it to any value |
Forum: MySQL Sep 30th, 2005 |
| Replies: 8 Views: 4,082 can you do joins?
select * from t1
inner join t2 on t1.userid != t2.userid
inner join t3 on t1.userid !- t3.userid |
Forum: MySQL Sep 30th, 2005 |
| Replies: 8 Views: 4,082 |
Forum: MySQL Sep 30th, 2005 |
| Replies: 8 Views: 4,082 select username from t1 where username not in (select username from t2) and username not in (select username from t3) |