Click here to Skip to main content
15,911,315 members
Home / Discussions / Database
   

Database

 
QuestionRe: copy data from 1 table to another table Pin
bapu28895-Mar-11 19:57
bapu28895-Mar-11 19:57 
QuestionRead only ADO connection still allows writing to database? Pin
PJ Arends4-Mar-11 17:54
professionalPJ Arends4-Mar-11 17:54 
AnswerRe: Read only ADO connection still allows writing to database? Pin
Mycroft Holmes4-Mar-11 19:59
professionalMycroft Holmes4-Mar-11 19:59 
GeneralRe: Read only ADO connection still allows writing to database? Pin
PJ Arends6-Mar-11 10:26
professionalPJ Arends6-Mar-11 10:26 
GeneralRe: Read only ADO connection still allows writing to database? Pin
Mycroft Holmes6-Mar-11 11:42
professionalMycroft Holmes6-Mar-11 11:42 
GeneralRe: Read only ADO connection still allows writing to database? Pin
PJ Arends6-Mar-11 17:51
professionalPJ Arends6-Mar-11 17:51 
GeneralRe: Read only ADO connection still allows writing to database? Pin
Mycroft Holmes6-Mar-11 18:01
professionalMycroft Holmes6-Mar-11 18:01 
QuestionUpdating Columns Pin
whatsa3-Mar-11 14:14
whatsa3-Mar-11 14:14 
Currently I have a column in a MySQL database full of car makes such as Audi, Porsche, and BMW. Although, the make column is filled with either Audi or Audi® or Audi ® and for the other car makes. There are over 2000 rows. I'm trying to figure out how to make every row just "MAKE ®" without typing it because I'm using it to make a menu in php/javascript and it repeats menu items like "Audi" and "Audi®" and "Audi ®."

http://i54.tinypic.com/w7zm6c.png

I've tried SELECT DISTINCT but that just takes away the repeated makes, I need to change all the makes to follow the same format.

For example I have..

$makes_select = "SELECT DISTINCT make FROM files_avail where shw=1 ORDER BY make"; // Fetching of makes


I was looking up the MySQL Reference Pages like on here:

http://dev.mysql.com/doc/refman/5.0/en/replace.html

And query commands like UPDATE and INSERT.


But I am unsure of how to do it in MySQL, I didn't want to do anything before I screw up the entire database :3

Thanks!

-Faul
AnswerRe: Updating Columns Pin
Luc Pattyn3-Mar-11 14:24
sitebuilderLuc Pattyn3-Mar-11 14:24 
GeneralRe: Updating Columns Pin
whatsa17-Mar-11 10:07
whatsa17-Mar-11 10:07 
AnswerRe: Updating Columns Pin
jschell3-Mar-11 15:27
jschell3-Mar-11 15:27 
GeneralRe: Updating Columns Pin
PIEBALDconsult3-Mar-11 16:34
mvePIEBALDconsult3-Mar-11 16:34 
QuestionSQL Server Authentication issue - Fixed, but I don't understand why Pin
gantww3-Mar-11 5:55
gantww3-Mar-11 5:55 
Questioncomplicated select Pin
benams3-Mar-11 5:16
benams3-Mar-11 5:16 
QuestionRe: complicated select Pin
Chris Meech3-Mar-11 8:45
Chris Meech3-Mar-11 8:45 
AnswerRe: complicated select Pin
Jörgen Andersson3-Mar-11 9:37
professionalJörgen Andersson3-Mar-11 9:37 
AnswerRe: complicated select Pin
Mycroft Holmes3-Mar-11 13:52
professionalMycroft Holmes3-Mar-11 13:52 
GeneralRe: complicated select Pin
benams4-Mar-11 7:35
benams4-Mar-11 7:35 
GeneralRe: complicated select Pin
Mycroft Holmes4-Mar-11 12:49
professionalMycroft Holmes4-Mar-11 12:49 
QuestionOracle Multiple schemas Vs single schemas Pin
V.2-Mar-11 20:11
professionalV.2-Mar-11 20:11 
AnswerRe: Oracle Multiple schemas Vs single schemas Pin
Jörgen Andersson2-Mar-11 21:08
professionalJörgen Andersson2-Mar-11 21:08 
AnswerRe: Oracle Multiple schemas Vs single schemas Pin
Mycroft Holmes2-Mar-11 22:17
professionalMycroft Holmes2-Mar-11 22:17 
AnswerRe: Oracle Multiple schemas Vs single schemas Pin
PIEBALDconsult3-Mar-11 1:56
mvePIEBALDconsult3-Mar-11 1:56 
AnswerRe: Oracle Multiple schemas Vs single schemas Pin
Wendelius4-Mar-11 10:28
mentorWendelius4-Mar-11 10:28 
GeneralRe: Oracle Multiple schemas Vs single schemas Pin
V.4-Mar-11 10:48
professionalV.4-Mar-11 10:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.