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

Database

 
AnswerRe: convert MS SQL DB 2008 to 2005 Pin
Wendelius20-Nov-08 9:49
mentorWendelius20-Nov-08 9:49 
AnswerRe: convert MS SQL DB 2008 to 2005 Pin
Edin Jen Raj15-Jun-10 2:05
Edin Jen Raj15-Jun-10 2:05 
AnswerRe: convert MS SQL DB 2008 to 2005 Pin
Edin Jen Raj15-Jun-10 2:06
Edin Jen Raj15-Jun-10 2:06 
QuestionCOUNT PROBLEM Pin
member2720-Nov-08 1:40
member2720-Nov-08 1:40 
AnswerRe: COUNT PROBLEM Pin
RGTuffin20-Nov-08 2:54
RGTuffin20-Nov-08 2:54 
GeneralRe: COUNT PROBLEM Pin
member2720-Nov-08 17:15
member2720-Nov-08 17:15 
QuestionMatches from 2 tables Pin
highjo20-Nov-08 0:54
highjo20-Nov-08 0:54 
AnswerRe: Matches from 2 tables Pin
RGTuffin20-Nov-08 3:36
RGTuffin20-Nov-08 3:36 
Probably more than one way to go about something like this, and none of which are really very clean.

Basis of anything is, that if 1441 matches the start of the mobile number then it can't be 1 for U.S.

You could match these back in 4 iterations, starting with the 4 digit codes first, then exluding what you had matched when you do your 3 digit matches and so on.

You could code this on the fly, but would overcomplicate it really, could you add another field onto your text_status table, and update it with the iddcode where you get a match on all 4 digit iddcodes.

Then update the field with all matching 3 digit iddcodes where the field is still null, then 2 digit, then 1 digit.
GeneralRe: Matches from 2 tables Pin
highjo20-Nov-08 4:13
highjo20-Nov-08 4:13 
AnswerRe: Matches from 2 tables Pin
Wendelius20-Nov-08 7:32
mentorWendelius20-Nov-08 7:32 
Questionselect max(string) Pin
Zeyad Jalil19-Nov-08 19:49
professionalZeyad Jalil19-Nov-08 19:49 
AnswerRe: select max(string) Pin
Xandip19-Nov-08 19:54
Xandip19-Nov-08 19:54 
GeneralRe: select max(string) Pin
Zeyad Jalil19-Nov-08 22:17
professionalZeyad Jalil19-Nov-08 22:17 
GeneralRe: select max(string) Pin
Ashfield19-Nov-08 22:27
Ashfield19-Nov-08 22:27 
AnswerRe: select max(string) Pin
Syed Mehroz Alam19-Nov-08 19:58
Syed Mehroz Alam19-Nov-08 19:58 
GeneralRe: select max(string) Pin
Zeyad Jalil19-Nov-08 22:17
professionalZeyad Jalil19-Nov-08 22:17 
AnswerRe: select max(string) Pin
Paddy Boyd20-Nov-08 0:00
Paddy Boyd20-Nov-08 0:00 
AnswerRe: select max(string) Pin
RGTuffin20-Nov-08 0:46
RGTuffin20-Nov-08 0:46 
AnswerRe: select max(string) Pin
Wendelius20-Nov-08 7:00
mentorWendelius20-Nov-08 7:00 
QuestionAdd Identity Key behaviour to existing primary key column. Pin
Xandip19-Nov-08 19:34
Xandip19-Nov-08 19:34 
AnswerRe: Add Identity Key behaviour to existing primary key column. Pin
Wendelius20-Nov-08 5:07
mentorWendelius20-Nov-08 5:07 
Question[Message Deleted] Pin
mobius11100119-Nov-08 5:05
mobius11100119-Nov-08 5:05 
AnswerRe: Database Class Design Pin
Wendelius19-Nov-08 8:02
mentorWendelius19-Nov-08 8:02 
QuestionReporting Services table KeepTogether property Pin
grewin18-Nov-08 23:33
grewin18-Nov-08 23:33 
AnswerRe: Reporting Services table KeepTogether property Pin
Ennis Ray Lynch, Jr.19-Nov-08 10:09
Ennis Ray Lynch, Jr.19-Nov-08 10:09 

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.