Click here to Skip to main content
15,922,894 members
Home / Discussions / Database
   

Database

 
Generalfiltering dataset and pu the result in another datatable. Pin
Aslesh20-Nov-08 12:03
Aslesh20-Nov-08 12:03 
GeneralRe: filtering dataset and pu the result in another datatable. Pin
Ashfield20-Nov-08 20:01
Ashfield20-Nov-08 20:01 
GeneralCross-post Pin
Wendelius21-Nov-08 22:42
mentorWendelius21-Nov-08 22:42 
Questioncopying a record from one database to another database in sql server 2000 using c# Pin
Berlus20-Nov-08 11:39
Berlus20-Nov-08 11:39 
Questionconvert MS SQL DB 2008 to 2005 Pin
Aslesh20-Nov-08 9:36
Aslesh20-Nov-08 9:36 
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 
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 

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.