Forum Discussion Search with BoardTracker.com
Forum Discussion Search with BoardTracker.com
  
  

Advanced  |  Help
    Home Search Alerts Browse My Threads Setup About Login Signup    


» All > Computers & Internet > . > Databases > MySQL [7 Forums][Track this Category]
   Browse sub-categories   
No sub-categories for this category

   Latest threads in category   
SitePoint conditional selection  
03:55 1-Dec-06   [Replies: 5, Views: 56]    By: mniessen
Hi, I have a table that contains some words and their translation, in various languages. I would like to select the translations for a particular language but use the English word in case their ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint join tables by referance  
00:39 1-Dec-06   [Replies: 4, Views: 54]    By: Unnamed
mysql> describe atf; +----------------+--------------+------+-----+---------+----------------+ | Field | customer_id | int(11) | NO | PRI | NULL | auto_increment | | date ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint fastest way to count?  
23:59 30-Nov-06   [Replies: 1, Views: 39]    By: Jedi007
Does mysql have a count function where ...? I want to count the number of rows mysql returns where something is equal to something. What's the fastest way to do this? (I'm using php + mysql) T...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Nested Query Problem? :(  
19:49 30-Nov-06   [Replies: 1, Views: 35]    By: PotatoFro
basic question: i'm trying to grab info from one table and sort by a value in the nested query -- below is the background and code: i'm developing a photo upload site. I give the user the abil...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Work Out Daily Interest Rate based on 2 Tables  
19:24 30-Nov-06   [Replies: 4, Views: 38]    By: spoondevil
Hi I have the following DB structure Code: charges cID [bigint] cpID [bigint] amount [decimal 3,2] date_charge [datetime] petition...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint sql error please help me  
18:54 30-Nov-06   [Replies: 8, Views: 72]    By: livewirerules
hi, im tryn to run a sql query but im getting this error Code: SQL query: CREATE TABLE `font` ( `id` int( 11 ) NOT NULL AUTO_INCREMENT , `name` varchar( 255 ) NOT NULL , `font_url...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Join 3 tables, limit results from 3rd table  
12:31 30-Nov-06   [Replies: 5, Views: 66]    By: chilli11
Yet again I have a query about joins and even though I keep reading I cannot find a solution for my problem that is relevant or that I understand. I have 3 tables (I have shortened the number of f...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Full Text Searching - find numbers  
09:01 30-Nov-06   [Replies: 6, Views: 43]    By: promanex
I am trying to create a system where a user can enter their registration number (uk cars) and have our site tell them what parts (we sell towbars and such) are compatible with their car. I have ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Setting all values to 0 and some to 1  
08:50 30-Nov-06   [Replies: 3, Views: 45]    By: joebert
Is there a single query I can run that will set all values of a single column to 0, but set some values to 1 ? somthing like Code: UPDATE `table` SET `column_name` = 0 WHERE `row_id...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint column = column + 0  
05:25 30-Nov-06   [Replies: 1, Views: 28]    By: battye
Is column = column + 0 allowed as part of a MySQL query? I am experiencing problems using it, but I can't be sure if it is that or something else in the code.. Cheers ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Stumped on how to write query  
05:05 30-Nov-06   [Replies: 4, Views: 63]    By: whitemank
I've got a table named "selector" with the following fields: model make year timestamp I'm trying to write a query that returns the number of times that a unique model, mak...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Can you use SET and VALUES when updating DB entries  
04:29 30-Nov-06   [Replies: 3, Views: 31]    By: simontheak
Hiya, I'm writing a quick script in PHP to update user details that have already been submitted, but for some reason I can't get the following code to update the DB PHP Code: ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint mysql import trouble  
00:47 30-Nov-06   [Replies: 6, Views: 52]    By: Tekdot
I'm using the following code to import a .sql file. Code: mysqlimport --local -u root -pCENSORED teraspot_db /home/default/teraspot_db.sql and I get this error Code: my...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Simple IF THEN Statement  
19:35 29-Nov-06   [Replies: 1, Views: 31]    By: IronCode
Ok all i'm trying to do it left join a table on another and order by the data in the joined table. Meaning that since it's left joined there is the possability that there will be no data in that t...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint MySQL Query - Need clarification  
19:17 29-Nov-06   [Replies: 4, Views: 38]    By: enormousrodent
Hi there, I have to make a system for my final year uni project. To put it simply i have 3 tables. 1.) School 2.) Class 3.) Student Obviously Schools have classes and each class ha...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint GROUP_CONCAT alternative for MySQL < 4.1 ?  
19:09 29-Nov-06   [Replies: 1, Views: 33]    By: spheroid2007
GROUP_CONCAT is a great function...But have MySQL version < 4.1 and my hosting provider can't upgrade MySQL. Is there a way to get this result with a different SELECT query? I have a list o...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint INTERVAL 15 DAY (Help)  
15:05 29-Nov-06   [Replies: 5, Views: 35]    By: XRay
Hi everyone, the problem is in next: I have table with following fields: PointsID int(10) UserID int(10) ProductID int(11) Reason tinyint(4) Date datetime Points va...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Set character set?  
14:10 29-Nov-06   [Replies: 6, Views: 47]    By: triexa
I am having problems with my character set - and as a result, certain characters get converted. I changed the column collation to "utf8_general_ci", but it didn't work. When I use ph...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Problem with MySQL configuration on IIS with PHP  
12:23 29-Nov-06   [Replies: 1, Views: 24]    By: Psymatix
Hello Everyone. Everytime I try to read from any MySql database in PHP, I get a blank screen or just a blank response. I dunno what the problem is. is it the configuration? When i use ph...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint have to set password in phpmyadmin  
06:34 29-Nov-06   [Replies: 0, Views: 27]    By: chitara
Hello! I am using php4 and mysql and running them in IIS. I installed all in C:\. Then I put phpmyadmin folder into the wwwroot folder. When I login http://www.mysite/phpmyadmin [http://www....
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Dumping my live database and then putting it on my local machine probl..  
23:51 28-Nov-06   [Replies: 1, Views: 28]    By: DaveFromScratch
Hi guys im trying to take off my live database and overwrite it upon my local version of my site on my desktop computer. I have not too much of an idea what im doing - what would be the best way? ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint datatypes question  
21:58 28-Nov-06   [Replies: 7, Views: 66]    By: elduderino
HI, im following a book to learn sql, its a very good one by larry ullman ( sorry sitepoint!) but its got me a lttle confused. Its told me to create a table that includes a column caled url_id tha...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Slow Query w/ join & ordering  
19:10 28-Nov-06   [Replies: 13, Views: 86]    By: Unnamed
I am trying to figure out why I have a hugely slow query (~2 seconds in my testing environment). Details are below: It involves two tables, products and vendors. Products is a huge tabl...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Multiple COUNT() in SELECT statement  
18:42 28-Nov-06   [Replies: 9, Views: 82]    By: BrandonK
I have these queries: Code: SELECT COUNT(s01_Products.id) FROM s01_Products LEFT JOIN s01_Attributes ON s01_Attributes.product_id = s01_Products.id LEFT JOIN ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Updating Whole Database  
12:54 28-Nov-06   [Replies: 5, Views: 42]    By: mrmbarnes
Hi All I need to search my whole database and update a word to add ™ to it. Any ideas on how this is done? Any help would be great. Many Thanks mrmbarnes ...
[Tags: No tags defined yet] -
Be the first to Tag this thread

<<First  <Previous  1  2  3  4  [5]  6  7  8  9  10  Next>      
   




Research | Board owners portal | BoardTracker Forums | Search plugin | Add your board | About us | Contact us

© Pidgin Technologies Ltd. 2006