Click here to Skip to main content
15,896,726 members
Home / Discussions / Database
   

Database

 
AnswerRe: Matches from 2 tables Pin
RGTuffin20-Nov-08 3:36
RGTuffin20-Nov-08 3:36 
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 
If you need to get the maximum length string, you could simply use a Select Max(Len(StringColumn)) expression.

If you have any custom criteria for getting the maximum sub-string from that comma separated list, I suggest you create a scalar valued function, e.g. GetMax(varchar (nn)). Inside that function you could parse that comma separated list into table rows (you can easily find such functions on the internet) and then apply your maximum criteria.

Hope that helps.


Regards,
Syed Mehroz Alam.

My Blog
My Articles

Computers are incredibly fast, accurate, and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination. - Albert Einstein

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 
GeneralRe: Reporting Services table KeepTogether property Pin
grewin19-Nov-08 16:56
grewin19-Nov-08 16:56 
AnswerRe: Reporting Services table KeepTogether property Pin
Syed Mehroz Alam19-Nov-08 18:58
Syed Mehroz Alam19-Nov-08 18:58 
GeneralRe: Reporting Services table KeepTogether property Pin
grewin19-Nov-08 19:37
grewin19-Nov-08 19:37 
GeneralRe: Reporting Services table KeepTogether property Pin
Syed Mehroz Alam19-Nov-08 19:50
Syed Mehroz Alam19-Nov-08 19:50 
GeneralRe: Reporting Services table KeepTogether property Pin
grewin19-Nov-08 20:08
grewin19-Nov-08 20:08 
QuestionHelp me with this Query Pin
Mhiny18-Nov-08 20:04
Mhiny18-Nov-08 20:04 
AnswerRe: Help me with this Query Pin
Wendelius19-Nov-08 8:48
mentorWendelius19-Nov-08 8: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.