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 MySQL Dates - A discussion  
13:00 14-Nov-06   [Replies: 6, Views: 54]    By: Kendothpro
I'm trying to convert an old db scripted by someone else to my new code In my new database, I store dates using a datetime field, while the old script used a number like this "1128615400&qu...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint one table n get 2 outputs  
12:31 14-Nov-06   [Replies: 4, Views: 36]    By: umeshrohit
hello guys, i have an artist table which has artistid has primary key. i need those artist whose statusverify is 'pending' and those artist whose statusverify is 'notpending'.The field statusv...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Foreign Keys & Indexes  
11:05 14-Nov-06   [Replies: 1, Views: 34]    By: LoobyLou
Hi I have altered my tables to include foreign keys, but I would like to know if they should appear in those tables? When I altered the tables to have these foreign keys, I also inserted o...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Problems with special chars  
08:28 14-Nov-06   [Replies: 3, Views: 33]    By: didac
Hi all, I had to move from my hosting and I needed to export my MySQL databases. I did it via the phpmyadmin panel, imported via shell to the new host and everything ran smooth. However,...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint selecting ids from one table which DON'T appear in another table  
07:49 14-Nov-06   [Replies: 5, Views: 56]    By: Busch
I am trying to select rows from one table that don't exist in another table. For example, I have 2 tables. Each table refers to a file's id. If a file is downloaded, a row is added to the ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Normalisation...  
00:16 14-Nov-06   [Replies: 14, Views: 139]    By: Unnamed
Hey. So, on this site I am building, there is a section with band 'profiles'. I have 3 tables (releases, bands and shows) in my db from which I get the data to insert into the page. I've got e...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Concat columns based on certain criteria using only SQL?  
20:12 13-Nov-06   [Replies: 2, Views: 36]    By: Gibb
I have a big table (15 million records). Each row has a parsed address (number, prefix, street, type, suffix) and I need to take these separate pieces and concatenate them. However, often times ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Int Length?  
17:42 13-Nov-06   [Replies: 4, Views: 39]    By: Era
So I'm working on a new table for a game database which keeps track of the player's inventory. As you can imagine there are a lot of items in the game, and thus a lot of primary keys are needed. O...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Joining multiple columns to the same table...  
17:29 13-Nov-06   [Replies: 2, Views: 45]    By: mrtopher
I have a table of job postings and they can have up to three certifications associated with them. In the job table they are stored as certification_1, certification_2, certification_3 and feed off...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint MySQL error on a sub-query (mysql 4)  
15:24 13-Nov-06   [Replies: 2, Views: 33]    By: psalzmann
Hello, We had a script uploaded to MySQL version 4 and the code was written on MySQL 5. However it's to do with the sub-query being called. Could someone give any tips on how this query c...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Selecting date when stored in traditional string format  
14:26 13-Nov-06   [Replies: 8, Views: 47]    By: sabret00the
i'm wondering why this won't work PHP Code: SELECT userid, username, birthday FROM user WHERE SUBSTRING(birthday, 5) >= '11-13' AND SUBSTRING(birthday, 5) < '11-20' ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Nearest Cities Query  
14:18 13-Nov-06   [Replies: 2, Views: 54]    By: adamle
Hello, I have a table with around 3 million entries each a city in the world. Other than countrycode, name etc... I have latitude and longitude for each, with an index on each field. There a...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Error : "cannot be part of FULLTEXT index"  
10:56 13-Nov-06   [Replies: 10, Views: 153]    By: Unnamed
Hi, in order to make it possible to do a fulltext search on multiple columns I created a temporary table which holds all the fields I want to search in from different tables. I'm creating a t...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Can you merge these two SQL statements?  
10:31 13-Nov-06   [Replies: 1, Views: 36]    By: mattmoo
The first one is to get the row numbers for my paging. The second one is what is ran for the actual paging. I assume you can't join the two because of the LIMIT and offset values. Am i right...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint MacBook Pro - MySQL migration issues  
08:59 13-Nov-06   [Replies: 1, Views: 111]    By: lloydi
I just migrated from an iBook to a MacBook Pro. All the apps and settings copied across just fine but, as those who've done this before will know, things like Apache settings, MySQL etc are not co...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Querying with array on a column that contains an array  
08:12 13-Nov-06   [Replies: 1, Views: 34]    By: Busch
One column of my table (that i didn't create) contains comma separated category IDs: parentlist -1 1,-1 -1 1,-1 3,1,-1 2,-1 For example, the red row is in catego...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint total sum of values?  
04:27 13-Nov-06   [Replies: 3, Views: 47]    By: knopix
this isn't a question of "how do I do this" but more of a "what's the best efficient way of doing this" the current code is: $result=mysql_query("SELECT votes FROM lis...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Please help with my Fulltext Indexing question  
04:12 13-Nov-06   [Replies: 5, Views: 43]    By: john278
Hi, If I have a query like: Quote: SELECT ided, merch.mid, mer, cost, ran, name, imgurl, brands FROM merch, products WHERE products.mid=merch.mid AND mcat='$cat' AND...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint MySQL Optimization??? Help!  
22:39 12-Nov-06   [Replies: 7, Views: 89]    By: hitemuprobbo
Hi, im recently been suspended daily by my hosts, saying that im causing a high load on my server with around 500,000 requests daily!!! Now they are saying "usual" reasons for this a...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint what query would work for this?  
17:36 12-Nov-06   [Replies: 11, Views: 68]    By: Kailash Badu
I have two tables: say Yes and No. Yes(ID, YesEmail, EmailOwner); No(ID, NoEmail); Both YesEmail and NoEmail contain email addresses. What query can retrieve all the email addresses in Yes table t...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Summing a column?  
17:32 12-Nov-06   [Replies: 9, Views: 85]    By: Unnamed
Not sure if this issue would fall under PHP or MySQL. So forgive me if I posted this in the wrong section .... Basically, here is what I have so far.... PHP Code: $month...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint How UNION is supposed to work?  
17:20 12-Nov-06   [Replies: 5, Views: 59]    By: Unnamed
Hello here, I have a problem with the use of UNION. If I query my database with the following: Quote: SELECT column1 FROM mytable WHERE title = "mytitle" UNIO...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Query Problem  
14:13 12-Nov-06   [Replies: 3, Views: 24]    By: james.tombs
I have a query that works on one page but the same query brings up an error on another page. This is the page that it doesn't work on. PHP Code: <?php if ($_POST...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint can't connect to mysql  
09:08 12-Nov-06   [Replies: 0, Views: 30]    By: pvzandbeek
Hi, I just set up a test environment on my local machine. Windows xp pro sp 2 Apache 2 php 5.2.0 MySql 5.0.27 I can connect from the console and run queries just fine but from a php page I try to ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Upgrade to Mysql Cluster  
02:48 12-Nov-06   [Replies: 2, Views: 26]    By: majjour
Hi all, We run a php/mysql University Management System that is facing performance problems. Currently the active components of the system runs on three servers, two dedicated for the appl...
[Tags: No tags defined yet] -
Be the first to Tag this thread

<<First  <Previous  5  6  7  8  9  [10]  11  12  13  14  15  Next>      
 




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

© Pidgin Technologies Ltd. 2006