Click here to Skip to main content
16,005,389 members
Home / Discussions / Database
   

Database

 
AnswerRe: [FYI]Service pack release for both Server and Express edition of SQL2005 Pin
Paul Conrad20-Apr-06 4:45
professionalPaul Conrad20-Apr-06 4:45 
Question????How to do it???? Pin
papa198020-Apr-06 1:32
papa198020-Apr-06 1:32 
Question[SQL Server] Alter a function which is used as a column default Pin
Duncan Edwards Jones20-Apr-06 1:16
professionalDuncan Edwards Jones20-Apr-06 1:16 
AnswerRe: [SQL Server] Alter a function which is used as a column default Pin
Duncan Edwards Jones20-Apr-06 5:12
professionalDuncan Edwards Jones20-Apr-06 5:12 
Questiongroup by clause Pin
dansoft19-Apr-06 6:15
dansoft19-Apr-06 6:15 
AnswerRe: group by clause Pin
Colin Angus Mackay19-Apr-06 6:38
Colin Angus Mackay19-Apr-06 6:38 
GeneralRe: group by clause Pin
dansoft19-Apr-06 7:05
dansoft19-Apr-06 7:05 
Questionfull outer JOIN error Pin
dansoft19-Apr-06 4:33
dansoft19-Apr-06 4:33 
The following sql join query is displaying "[Microsoft][ODBC SQL Server Driver]Syntax error or access violation" error

SELECT failure.locid,device.count,failure.count<br />
FROM<br />
{<br />
    SELECT locality.locid,count(*) AS count<br />
    FROM allotment,locality<br />
    WHERE allotment.locid=locality.locid<br />
    group by locality.locid<br />
} AS device<br />
FULL OUTER JOIN<br />
{<br />
    SELECT locid,count(deviceid) AS count<br />
    FROM failures<br />
group by locid<br />
} AS failure ON device.locid = failure.locid


device is used to find number of device in a particular locality
failure is to find the number of failures in the particular location
Both device and failure queries are working fine separately.

All localities are stored in locality table. the alloted devices are in allotment table, failures are in failures table

Please correct the error in the query. Thanks.
AnswerRe: full outer JOIN error Pin
Colin Angus Mackay19-Apr-06 5:28
Colin Angus Mackay19-Apr-06 5:28 
GeneralRe: full outer JOIN error Pin
dansoft19-Apr-06 6:00
dansoft19-Apr-06 6:00 
GeneralRe: full outer JOIN error Pin
dansoft19-Apr-06 6:02
dansoft19-Apr-06 6:02 
GeneralRe: full outer JOIN error Pin
Colin Angus Mackay19-Apr-06 6:02
Colin Angus Mackay19-Apr-06 6:02 
QuestionCharts in RDL File Pin
DotNetDominator19-Apr-06 4:20
DotNetDominator19-Apr-06 4:20 
Questiondecimal problem Pin
dansoft19-Apr-06 2:51
dansoft19-Apr-06 2:51 
AnswerRe: decimal problem Pin
Colin Angus Mackay19-Apr-06 2:59
Colin Angus Mackay19-Apr-06 2:59 
GeneralRe: decimal problem Pin
dansoft19-Apr-06 3:03
dansoft19-Apr-06 3:03 
GeneralRe: decimal problem Pin
Colin Angus Mackay19-Apr-06 3:07
Colin Angus Mackay19-Apr-06 3:07 
GeneralRe: decimal problem Pin
dansoft19-Apr-06 3:12
dansoft19-Apr-06 3:12 
QuestionHow to delete the Duplicate rows Pin
Balavardhan19-Apr-06 1:47
Balavardhan19-Apr-06 1:47 
QuestionRe: How to delete the Duplicate rows Pin
Eric Dahlvang19-Apr-06 5:07
Eric Dahlvang19-Apr-06 5:07 
AnswerRe: How to delete the Duplicate rows Pin
ldaoust19-Apr-06 10:04
ldaoust19-Apr-06 10:04 
QuestionSQL scripts Pin
kirthikirthi19-Apr-06 1:20
kirthikirthi19-Apr-06 1:20 
QuestionHelp me write Query Pin
Balavardhan18-Apr-06 21:16
Balavardhan18-Apr-06 21:16 
AnswerRe: Help me write Query Pin
Colin Angus Mackay18-Apr-06 22:38
Colin Angus Mackay18-Apr-06 22:38 
AnswerRe: Help me write Query Pin
Darpan Gogia18-Apr-06 23:13
Darpan Gogia18-Apr-06 23:13 

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.