Click here to Skip to main content
15,900,378 members
Home / Discussions / Database
   

Database

 
QuestionT-SQL Question Pin
ffowler20-Nov-07 5:42
ffowler20-Nov-07 5:42 
AnswerRe: T-SQL Question Pin
andyharman20-Nov-07 6:41
professionalandyharman20-Nov-07 6:41 
GeneralRe: T-SQL Question Pin
ffowler20-Nov-07 7:21
ffowler20-Nov-07 7:21 
GeneralRe: T-SQL Question Pin
astanton197820-Nov-07 9:43
astanton197820-Nov-07 9:43 
GeneralRe: T-SQL Question Pin
ffowler20-Nov-07 9:51
ffowler20-Nov-07 9:51 
GeneralRe: T-SQL Question Pin
ffowler20-Nov-07 9:54
ffowler20-Nov-07 9:54 
QuestionDirrerence Between these Two Queries Pin
Vimalsoft(Pty) Ltd20-Nov-07 3:38
professionalVimalsoft(Pty) Ltd20-Nov-07 3:38 
AnswerRe: Dirrerence Between these Two Queries Pin
Jason Lepack (LeppyR64)20-Nov-07 3:49
Jason Lepack (LeppyR64)20-Nov-07 3:49 
This should illustrate the difference.

CREATE TABLE #foo (<br />
	foo_id TINYINT )<br />
	<br />
INSERT INTO [#foo] VALUES (1) <br />
INSERT INTO [#foo] VALUES (1) <br />
INSERT INTO [#foo] VALUES (1) <br />
INSERT INTO [#foo] VALUES (1) <br />
INSERT INTO [#foo] VALUES (2) <br />
INSERT INTO [#foo] VALUES (2) <br />
INSERT INTO [#foo] VALUES (2) <br />
INSERT INTO [#foo] VALUES (2) <br />
<br />
SELECT<br />
	COUNT(*)<br />
FROM<br />
	[#foo]<br />
	<br />
SELECT<br />
	COUNT(DISTINCT [#foo].[foo_id])<br />
FROM<br />
	[#foo]<br />
	<br />
DROP TABLE [#foo]

GeneralRe: Dirrerence Between these Two Queries Pin
Vimalsoft(Pty) Ltd20-Nov-07 4:02
professionalVimalsoft(Pty) Ltd20-Nov-07 4:02 
GeneralRe: Dirrerence Between these Two Queries Pin
Jason Lepack (LeppyR64)20-Nov-07 4:27
Jason Lepack (LeppyR64)20-Nov-07 4:27 
GeneralRe: Dirrerence Between these Two Queries Pin
Vimalsoft(Pty) Ltd20-Nov-07 20:27
professionalVimalsoft(Pty) Ltd20-Nov-07 20:27 
GeneralRe: Dirrerence Between these Two Queries Pin
Vimalsoft(Pty) Ltd20-Nov-07 21:06
professionalVimalsoft(Pty) Ltd20-Nov-07 21:06 
GeneralRe: Dirrerence Between these Two Queries Pin
Jason Lepack (LeppyR64)21-Nov-07 2:33
Jason Lepack (LeppyR64)21-Nov-07 2:33 
GeneralRe: Dirrerence Between these Two Queries Pin
Vimalsoft(Pty) Ltd21-Nov-07 3:46
professionalVimalsoft(Pty) Ltd21-Nov-07 3:46 
QuestionTDS buffer length too large Pin
amhase_codeProject20-Nov-07 2:55
amhase_codeProject20-Nov-07 2:55 
QuestionSQL SERVER 2005 /Database/Resize Pin
gandalf_le_blanc20-Nov-07 2:41
gandalf_le_blanc20-Nov-07 2:41 
AnswerRe: SQL SERVER 2005 /Database/Resize Pin
Kishore.P21-Nov-07 0:41
Kishore.P21-Nov-07 0:41 
QuestionHelp me in Cryastal Report in Visual Studio 2005 using Dataset Method Pin
Mujahid Awan Sindhi20-Nov-07 2:24
Mujahid Awan Sindhi20-Nov-07 2:24 
Question@@ parameters in sql server 2000 stored procedure Pin
Sonia Gupta20-Nov-07 1:34
Sonia Gupta20-Nov-07 1:34 
AnswerRe: @@ parameters in sql server 2000 stored procedure Pin
Pete O'Hanlon20-Nov-07 1:59
mvePete O'Hanlon20-Nov-07 1:59 
GeneralRe: @@ parameters in sql server 2000 stored procedure Pin
Sonia Gupta20-Nov-07 2:09
Sonia Gupta20-Nov-07 2:09 
Questionhow to see source file of system function Pin
nibabug20-Nov-07 1:03
nibabug20-Nov-07 1:03 
AnswerRe: how to see source file of system function Pin
Pete O'Hanlon20-Nov-07 11:01
mvePete O'Hanlon20-Nov-07 11:01 
Questiona problem about datatype Pin
nibabug20-Nov-07 0:54
nibabug20-Nov-07 0:54 
AnswerRe: a problem about datatype Pin
N a v a n e e t h20-Nov-07 1:00
N a v a n e e t h20-Nov-07 1:00 

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.