Click here to Skip to main content
15,887,683 members
Home / Discussions / Database
   

Database

 
AnswerRe: Why DataColumn.DefaultValue is null Pin
Ahmad Safwat2-Jun-08 3:10
Ahmad Safwat2-Jun-08 3:10 
AnswerNew Problem Pin
Ahmad Safwat2-Jun-08 21:25
Ahmad Safwat2-Jun-08 21:25 
QuestionMSMQ vs Service Broker performance Pin
Member 42747082-Jun-08 1:52
Member 42747082-Jun-08 1:52 
Questionsql2000 + distinct rows Pin
ritu43212-Jun-08 0:04
ritu43212-Jun-08 0:04 
AnswerRe: sql2000 + distinct rows Pin
Alsvha2-Jun-08 0:08
Alsvha2-Jun-08 0:08 
GeneralRe: sql2000 + distinct rows Pin
ritu43212-Jun-08 0:27
ritu43212-Jun-08 0:27 
GeneralRe: sql2000 + distinct rows Pin
Alsvha2-Jun-08 0:34
Alsvha2-Jun-08 0:34 
GeneralRe: sql2000 + distinct rows Pin
SomeGuyThatIsMe2-Jun-08 2:18
SomeGuyThatIsMe2-Jun-08 2:18 
Distinct runs on every column after it unless you put the column list in parenthesis () like

SELECT Distinct(col1), col2,col3

you can also group columns in the distinct clause or combine them if they are character strings like

SELECT Distinct (Col1 + Col2), col3

distinct will only operate on the column specified, but in your syntax you are accidently specifying all of the columns, and i imagine that you dont have 2 rows where all 3 columns contain the same data. Oh before i forget, Sql Server 2000's query analyzer tool has the absolute best help under help -> tranact SQL help. it is very well written and has fairly good examples, i use it all the time.
AnswerRe: sql2000 + distinct rows Pin
Hesham Amin2-Jun-08 10:47
Hesham Amin2-Jun-08 10:47 
Questioncan we use stored procedure in user defined function ???? Pin
Shaik Haneef1-Jun-08 23:51
Shaik Haneef1-Jun-08 23:51 
AnswerRe: can we use stored procedure in user defined function ???? Pin
Ashfield2-Jun-08 0:00
Ashfield2-Jun-08 0:00 
Questionhow to validate template column (textBox) in datagrid using c# Pin
sacr831-Jun-08 21:41
sacr831-Jun-08 21:41 
AnswerRe: how to validate template column (textBox) in datagrid using c# Pin
Ashfield1-Jun-08 23:15
Ashfield1-Jun-08 23:15 
GeneralRe: how to validate template column (textBox) in datagrid using c# Pin
Ashfield1-Jun-08 23:17
Ashfield1-Jun-08 23:17 
Questioninsert trigger Pin
Mr.Kode1-Jun-08 21:10
Mr.Kode1-Jun-08 21:10 
AnswerRe: insert trigger Pin
Ashfield1-Jun-08 22:07
Ashfield1-Jun-08 22:07 
GeneralRe: insert trigger Pin
Mr.Kode1-Jun-08 22:47
Mr.Kode1-Jun-08 22:47 
GeneralRe: insert trigger Pin
Ashfield1-Jun-08 23:20
Ashfield1-Jun-08 23:20 
GeneralRe: insert trigger Pin
Mr.Kode1-Jun-08 23:46
Mr.Kode1-Jun-08 23:46 
GeneralRe: insert trigger Pin
Ashfield1-Jun-08 23:59
Ashfield1-Jun-08 23:59 
AnswerRe: insert trigger Pin
Alsvha2-Jun-08 0:11
Alsvha2-Jun-08 0:11 
GeneralRe: insert trigger Pin
Mr.Kode2-Jun-08 0:56
Mr.Kode2-Jun-08 0:56 
GeneralRe: insert trigger Pin
Ashfield2-Jun-08 1:16
Ashfield2-Jun-08 1:16 
GeneralRe: insert trigger Pin
Mr.Kode2-Jun-08 2:49
Mr.Kode2-Jun-08 2:49 
Question[Message Deleted] Pin
snowblindzz1-Jun-08 20:55
snowblindzz1-Jun-08 20:55 

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.