Click here to Skip to main content
15,898,538 members
Home / Discussions / Database
   

Database

 
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 
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 
Member 7723899 wrote:
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


The steps are
1. Determine what values are in there
2. Determine what values should be in there.
3. Create an algorithmic solution that will convert an incorrect value to a correct one. This is based on steps 1 and 2.
4. Implement 3 in SQL.
5. Run 4.

Your description sounds like you have not completed steps 1 and 2 in the above and are attempting to jump directly to step 4.

Additionally.
1. Determine if you want to prevent future incorrect values
2. If yes then add a constraint that prevents incorrect values.

Based on your description you would do this by creating an enumeration table which is nothing but a table of correct names. Then you use a foreign key from the existing table to the enumeration table.
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 
GeneralRe: Oracle Multiple schemas Vs single schemas Pin
Wendelius4-Mar-11 10:54
mentorWendelius4-Mar-11 10:54 
QuestionHow to write a SQL query to present values horizontally sql server 2005 Pin
Tridip Bhattacharjee1-Mar-11 20:10
professionalTridip Bhattacharjee1-Mar-11 20:10 
AnswerRe: How to write a SQL query to present values horizontally sql server 2005 Pin
Jörgen Andersson1-Mar-11 20:27
professionalJörgen Andersson1-Mar-11 20:27 

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.