Click here to Skip to main content
11,640,910 members (61,684 online)
   

Database

 
QuestionBEGIN TRANSACTION AND COMMIT TRANSACTION Pin
vanikanc14-Nov-12 7:40
membervanikanc14-Nov-12 7:40 
AnswerRe: BEGIN TRANSACTION AND COMMIT TRANSACTION Pin
Phanindra26114-Nov-12 8:40
memberPhanindra26114-Nov-12 8:40 
QuestionFault Exception in WCF Services Pin
Phanindra26114-Nov-12 6:15
memberPhanindra26114-Nov-12 6:15 
AnswerRe: Fault Exception in WCF Services Pin
Eddy Vluggen14-Nov-12 6:36
memberEddy Vluggen14-Nov-12 6:36 
GeneralRe: Fault Exception in WCF Services Pin
Phanindra26114-Nov-12 8:05
memberPhanindra26114-Nov-12 8:05 
QuestionRelation multiple table using in C# Pin
YBG13-Nov-12 2:53
memberYBG13-Nov-12 2:53 
AnswerRe: Relation multiple table using in C# Pin
Phanindra26114-Nov-12 8:23
memberPhanindra26114-Nov-12 8:23 
QuestionTrying to get a MySQL subquery to return multiple records Pin
SQL Ed12-Nov-12 8:19
memberSQL Ed12-Nov-12 8:19 
The following subquery returns 1024 records with a single count column. I am trying to return multiple columns with 1024 records. When I make changes to return multiple columns I get 17,000 records instead of 1024 records. I have very litle experience with subqueries. Does anyone have any suggestions?

SELECT IFNULL(COUNT(DISTINCT A.computerid),0) AS 'Machine Count',
A.hotfixID AS 'Last Contact'
FROM (SELECT HF.computerid, HF.hotfixID
FROM hotfixdata HFD

INNER JOIN hotfix HF
ON HF.hotfixid = HFD.hotfixid
AND HFD.ignore <> 1
LEFT OUTER JOIN Computers AS C
ON C.ComputerID=HF.ComputerID

WHERE INSTR(C.os,"microsoft")>0
AND HF.installed <> 1
AND HF.Approved = 1
GROUP BY HF.hotfixID, HF.ComputerID) A;
AnswerRe: Trying to get a MySQL subquery to return multiple records Pin
Eddy Vluggen12-Nov-12 11:33
memberEddy Vluggen12-Nov-12 11:33 
QuestionSending data to database Pin
Phanindra26111-Nov-12 19:03
memberPhanindra26111-Nov-12 19:03 
AnswerRe: Sending data to database Pin
jschell12-Nov-12 10:08
memberjschell12-Nov-12 10:08 
AnswerRe: Sending data to database Pin
Mycroft Holmes12-Nov-12 12:51
memberMycroft Holmes12-Nov-12 12:51 
GeneralRe: Sending data to database Pin
Phanindra26113-Nov-12 18:40
memberPhanindra26113-Nov-12 18:40 
QuestionHow to create reports effectively Pin
Frygreen9-Nov-12 0:52
memberFrygreen9-Nov-12 0:52 
AnswerRe: How to create reports effectively Pin
David Mujica9-Nov-12 2:32
memberDavid Mujica9-Nov-12 2:32 
AnswerRe: How to create reports effectively Pin
Mycroft Holmes9-Nov-12 4:08
memberMycroft Holmes9-Nov-12 4:08 
AnswerRe: How to create reports effectively Pin
Frygreen9-Nov-12 4:10
memberFrygreen9-Nov-12 4:10 
Suggestionsql server 2008 security Pin
Member 36227527-Nov-12 8:00
memberMember 36227527-Nov-12 8:00 
GeneralRe: sql server 2008 security Pin
Mycroft Holmes7-Nov-12 11:27
memberMycroft Holmes7-Nov-12 11:27 
GeneralRe: sql server 2008 security Pin
jschell8-Nov-12 8:56
memberjschell8-Nov-12 8:56 
QuestionHelp me my Sql expired Pin
mehdi_nassiri00986-Nov-12 10:03
membermehdi_nassiri00986-Nov-12 10:03 
AnswerRe: Help me my Sql expired Pin
Jörgen Andersson6-Nov-12 10:22
memberJörgen Andersson6-Nov-12 10:22 
AnswerRe: Help me my Sql expired Pin
Joy Sinha22-Nov-12 20:09
memberJoy Sinha22-Nov-12 20:09 
QuestionADO.NET Pin
M.T.H.Danish6-Nov-12 6:25
memberM.T.H.Danish6-Nov-12 6:25 
AnswerRe: ADO.NET Pin
Richard MacCutchan6-Nov-12 7:28
mvpRichard MacCutchan6-Nov-12 7:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 31 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid