Click here to Skip to main content
15,890,947 members
Home / Discussions / Database
   

Database

 
GeneralRe: Need help on query [modified] Pin
Ashfield27-Apr-08 20:10
Ashfield27-Apr-08 20:10 
GeneralRe: Need help on query Pin
krishnan.s27-Apr-08 21:09
krishnan.s27-Apr-08 21:09 
GeneralRe: Need help on query Pin
Ashfield27-Apr-08 21:16
Ashfield27-Apr-08 21:16 
GeneralRe: Need help on query Pin
krishnan.s27-Apr-08 21:40
krishnan.s27-Apr-08 21:40 
GeneralRe: Need help on query [modified] Pin
Blue_Boy27-Apr-08 21:49
Blue_Boy27-Apr-08 21:49 
GeneralRe: Need help on query Pin
krishnan.s27-Apr-08 22:18
krishnan.s27-Apr-08 22:18 
GeneralRe: Need help on query Pin
Blue_Boy27-Apr-08 22:31
Blue_Boy27-Apr-08 22:31 
GeneralRe: Need help on query Pin
Marek Grzenkowicz27-Apr-08 23:39
Marek Grzenkowicz27-Apr-08 23:39 
If you are using SQL Server 2005, you should avoid subselects, because their performance is poor.

I'd rather use:
SELECT
  NAME
, MIN(REG)
FROM dbo.MYTABLE
GROUP BY
  NAME

GeneralRe: Need help on query Pin
Blue_Boy27-Apr-08 23:41
Blue_Boy27-Apr-08 23:41 
QuestionWhy is this a syntax error? Pin
MikeMarq27-Apr-08 15:53
MikeMarq27-Apr-08 15:53 
AnswerRe: Why is this a syntax error? Pin
Ashfield27-Apr-08 20:18
Ashfield27-Apr-08 20:18 
AnswerRe: Why is this a syntax error? Pin
Krish - KP27-Apr-08 21:00
Krish - KP27-Apr-08 21:00 
GeneralRe: Why is this a syntax error? Pin
Ashfield27-Apr-08 21:18
Ashfield27-Apr-08 21:18 
Generalbasic question inserting data into a table Pin
MikeMarq27-Apr-08 11:45
MikeMarq27-Apr-08 11:45 
GeneralRe: basic question inserting data into a table Pin
Blue_Boy27-Apr-08 11:53
Blue_Boy27-Apr-08 11:53 
GeneralRe: basic question inserting data into a table Pin
Rob Graham30-Apr-08 3:47
Rob Graham30-Apr-08 3:47 
Questionsql refresh Pin
bapu288927-Apr-08 8:26
bapu288927-Apr-08 8:26 
GeneralRe: sql refresh Pin
Blue_Boy27-Apr-08 10:39
Blue_Boy27-Apr-08 10:39 
QuestionRe: sql refresh Pin
bapu288928-Apr-08 9:45
bapu288928-Apr-08 9:45 
GeneralRe: sql refresh Pin
mrcsn29-Apr-08 1:05
mrcsn29-Apr-08 1:05 
QuestionRe: sql refresh Pin
bapu288929-Apr-08 9:36
bapu288929-Apr-08 9:36 
GeneralQuestion about pivot Pin
Marc Clifton27-Apr-08 8:00
mvaMarc Clifton27-Apr-08 8:00 
AnswerRe: Question about pivot Pin
i.j.russell30-Apr-08 13:17
i.j.russell30-Apr-08 13:17 
GeneralRe: Question about pivot Pin
Marc Clifton30-Apr-08 13:38
mvaMarc Clifton30-Apr-08 13:38 
GeneralLeft Join question Pin
Marc Clifton27-Apr-08 2:32
mvaMarc Clifton27-Apr-08 2:32 

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.