Click here to Skip to main content
15,914,905 members
Home / Discussions / Database
   

Database

 
GeneralRe: Select MID?? instead of TOP Pin
John Kuhn16-Feb-04 11:46
John Kuhn16-Feb-04 11:46 
GeneralRe: Select MID?? instead of TOP Pin
krisp16-Feb-04 11:52
krisp16-Feb-04 11:52 
GeneralRe: Select MID?? instead of TOP Pin
John Kuhn16-Feb-04 15:13
John Kuhn16-Feb-04 15:13 
GeneralSQL Server 2000 Connection From ASP Pin
SamAmman15-Feb-04 22:32
SamAmman15-Feb-04 22:32 
GeneralRe: SQL Server 2000 Connection From ASP Pin
Marcie Jones16-Feb-04 2:59
Marcie Jones16-Feb-04 2:59 
GeneralRe: SQL Server 2000 Connection From ASP Pin
Mike Dimmick17-Feb-04 6:41
Mike Dimmick17-Feb-04 6:41 
GeneralBoy I have a goober of a problem. Pin
Anonymous15-Feb-04 21:23
Anonymous15-Feb-04 21:23 
GeneralProblem with simple SQL query :D Pin
gamerPotatoe15-Feb-04 21:10
gamerPotatoe15-Feb-04 21:10 
Hi there I'm playing around on SQL server 2000 and I get a error when i try to run this query:

SELECT *, COUNT(P.PTICKETNO) AS counter from TICKETS_PURCHASED T,PASSENGER P WHERE P.PTICKETNO = T.TKTNO AND T.TKTNO = 'TKT000000000001'

The error is as such.

Column 'T.TKTNO' is invalid in the select list because it is not contained in an aggregate function and there is no GROUP BY clause.
What could be the problem guys . My SQL is very weak and I' just getting my feet wet, I would appreciate all the help Smile | :)

GeneralRe: Problem with simple SQL query :D Pin
Mazdak15-Feb-04 21:29
Mazdak15-Feb-04 21:29 
GeneralConcatenating variables in SQL query Pin
solostar***15-Feb-04 16:19
solostar***15-Feb-04 16:19 
GeneralRe: Concatenating variables in SQL query Pin
Mike Dimmick16-Feb-04 2:32
Mike Dimmick16-Feb-04 2:32 
GeneralRe: Concatenating variables in SQL query Pin
Bill Dean16-Feb-04 2:34
Bill Dean16-Feb-04 2:34 
GeneralFree C# training Pin
Anonymous15-Feb-04 15:14
Anonymous15-Feb-04 15:14 
GeneralRe: Free C# training Pin
John Kuhn16-Feb-04 11:49
John Kuhn16-Feb-04 11:49 
GeneralProblem in using Stream object's write method Pin
Member 48497613-Feb-04 21:15
Member 48497613-Feb-04 21:15 
GeneralODBC and TCP/IP Pin
Kwai Cheng Kane13-Feb-04 10:25
Kwai Cheng Kane13-Feb-04 10:25 
QuestionListing tables and views? Pin
Bill Dean13-Feb-04 8:08
Bill Dean13-Feb-04 8:08 
AnswerRe: Listing tables and views? Pin
-Dr_X-13-Feb-04 14:27
-Dr_X-13-Feb-04 14:27 
GeneralRe: Listing tables and views? Pin
Bill Dean13-Feb-04 15:08
Bill Dean13-Feb-04 15:08 
GeneralRe: Listing tables and views? Pin
-Dr_X-13-Feb-04 15:36
-Dr_X-13-Feb-04 15:36 
GeneralRe: Listing tables and views? Pin
Bill Dean13-Feb-04 15:43
Bill Dean13-Feb-04 15:43 
Generalcompare time part of datetime field Pin
asd175313-Feb-04 7:15
asd175313-Feb-04 7:15 
Generalprecentage of loading data in Dataset Pin
Saeed Tabrizi13-Feb-04 5:43
Saeed Tabrizi13-Feb-04 5:43 
General"Select top" command Pin
dlhson212-Feb-04 19:21
dlhson212-Feb-04 19:21 
GeneralRe: "Select top" command Pin
Motyka12-Feb-04 20:52
Motyka12-Feb-04 20:52 

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.