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

Database

 
GeneralRe: Restoring database file problem Pin
A Wong31-Mar-08 4:58
A Wong31-Mar-08 4:58 
GeneralRe: Restoring database file problem Pin
hari4ur31-Mar-08 5:46
hari4ur31-Mar-08 5:46 
Generaldata bace problem Pin
asha_s30-Mar-08 7:45
asha_s30-Mar-08 7:45 
Generaldatatable expression column Pin
saltcode29-Mar-08 11:19
professionalsaltcode29-Mar-08 11:19 
GeneralRe: datatable expression column Pin
Xmen Real 31-Mar-08 1:26
professional Xmen Real 31-Mar-08 1:26 
Questionhow to solve this erro plz Pin
lakshmichawala29-Mar-08 2:38
lakshmichawala29-Mar-08 2:38 
AnswerRe: how to solve this erro plz Pin
Ali Rashid29-Mar-08 4:08
Ali Rashid29-Mar-08 4:08 
GeneralSQL Server Pin
Ali Rashid29-Mar-08 2:11
Ali Rashid29-Mar-08 2:11 
Hi Guys,
I tries to look around but I could not find an answer for this question. I need to run an SQl Query which retuns me the highest Unique Value and the lowest Unique value from the same column. For example. Lets say the column name is itemPrice, and has the following values: 10, 10, 11, 12, 12, 13, 14, 14 respectively. How can I get the 11 and 13 as the result of my query. I have tried DISTINCT, MIN, MAX and HAVING but to no avail. I am using SQL Server 2000.
If anyone can help, I would really be grateful.
Thanking in Anticiption.
Regards
Ali
GeneralRe: SQL Server [modified] Pin
Syed Mehroz Alam29-Mar-08 6:19
Syed Mehroz Alam29-Mar-08 6:19 
GeneralRe: SQL Server Pin
Ali Rashid29-Mar-08 23:43
Ali Rashid29-Mar-08 23:43 
GeneralRe: SQL Server Pin
Blue_Boy29-Mar-08 11:19
Blue_Boy29-Mar-08 11:19 
GeneralDbCommand execute and sql script with "GO" Pin
devvvy28-Mar-08 20:54
devvvy28-Mar-08 20:54 
GeneralRe: DbCommand execute and sql script with "GO" Pin
Mike Dimmick28-Mar-08 22:49
Mike Dimmick28-Mar-08 22:49 
GeneralRe: DbCommand execute and sql script with "GO" Pin
devvvy28-Mar-08 22:53
devvvy28-Mar-08 22:53 
GeneralRe: DbCommand execute and sql script with "GO" Pin
pmarfleet28-Mar-08 23:31
pmarfleet28-Mar-08 23:31 
GeneralRe: DbCommand execute and sql script with "GO" Pin
devvvy28-Mar-08 23:33
devvvy28-Mar-08 23:33 
GeneralDECLARE CURSOR must be the only statement in a query batch. -- Re: DbCommand execute and sql script with "GO" Pin
devvvy30-Mar-08 16:52
devvvy30-Mar-08 16:52 
QuestionHow to reorder uniqueIdentifier field? Pin
maryam.saboor28-Mar-08 19:19
professionalmaryam.saboor28-Mar-08 19:19 
AnswerRe: How to reorder uniqueIdentifier field? Pin
pmarfleet28-Mar-08 23:33
pmarfleet28-Mar-08 23:33 
GeneralRe: How to reorder uniqueIdentifier field? Pin
maryam.saboor29-Mar-08 0:35
professionalmaryam.saboor29-Mar-08 0:35 
GeneralRe: How to reorder uniqueIdentifier field? Pin
pmarfleet29-Mar-08 1:47
pmarfleet29-Mar-08 1:47 
Questionstored procedure problem Pin
md_azy28-Mar-08 18:40
md_azy28-Mar-08 18:40 
GeneralRe: stored procedure problem Pin
pmarfleet28-Mar-08 23:34
pmarfleet28-Mar-08 23:34 
GeneralRe: stored procedure problem Pin
Mike Dimmick28-Mar-08 23:38
Mike Dimmick28-Mar-08 23:38 
QuestionHow to recover sql server corrupted paged database? Pin
AhmetGULBAY28-Mar-08 7:09
AhmetGULBAY28-Mar-08 7: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.