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

Database

 
Questionado? sql? Pin
Haoman1727-Oct-06 2:15
Haoman1727-Oct-06 2:15 
AnswerRe: ado? sql? Pin
Colin Angus Mackay27-Oct-06 2:43
Colin Angus Mackay27-Oct-06 2:43 
GeneralRe: ado? sql? Pin
Haoman1727-Oct-06 3:44
Haoman1727-Oct-06 3:44 
GeneralRe: ado? sql? Pin
Paddy Boyd27-Oct-06 3:50
Paddy Boyd27-Oct-06 3:50 
GeneralRe: ado? sql? Pin
Colin Angus Mackay27-Oct-06 4:57
Colin Angus Mackay27-Oct-06 4:57 
AnswerRe: ado? sql? Pin
Damodar Periwal27-Oct-06 10:50
Damodar Periwal27-Oct-06 10:50 
GeneralRe: ado? sql? Pin
Haoman1727-Oct-06 17:58
Haoman1727-Oct-06 17:58 
QuestionERROR:"SQL Server is terminating this process"?? [pls help~] Pin
campbells26-Oct-06 19:45
campbells26-Oct-06 19:45 
i not sure wat this error mean it just not working with my SQL
ODBC: Msg 0, Level 19, State 1<br />
SqlDumpExceptionHandler: Process 51 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.<br />
<br />
Connection Broken


Here is my SQL command, the underline code which i added then the error came out. B4 add the command so working correctly

SELECT Query1.bizdate, TSuper,TSoft, THard, (TSoft+ THard+ TSuper) as TOTAL ,<br />
((TSoft+ THard+ TSuper)-(TsCost+ThCost+TsuCost))as GP <br />
FROM <br />
(SELECT bizdate, SUM(totalsales+returnamt) AS TSoft ,sum(totalcost+returncost)as TsCost FROM tot_item WHERE deptcode IN (11, 12, 13, 14, 15, 16, 17) <br />
GROUP BY bizdate) AS Query1<br />
<br />
LEFT JOIN (SELECT bizdate, SUM(totalsales+returnamt) AS THard ,sum(totalcost+returncost)as ThCost FROM tot_item WHERE deptcode IN (21, 22, 23, 24, 25, 26, 27, 28, 29) <br />
GROUP BY bizdate) AS Query2 ON Query1.bizdate = Query2.bizdate<br />
LEFT JOIN (SELECT bizdate, sum(totalsales+returnamt) AS TSuper ,sum(totalcost+returncost)as TsuCost FROM tot_item WHERE deptcode IN (30, 40, 50, 60, 70, 80, 90) <br />
GROUP BY bizdate) AS Query3 ON Query1.bizdate = Query3.bizdate<br />
<br />
where query1.bizdate>= '2006-10-01' and query1.bizdate<= '2006-10-15'<br />
order by query1.bizdate

AnswerRe: ERROR:"SQL Server is terminating this process"?? [pls help~] Pin
Mike Dimmick27-Oct-06 4:22
Mike Dimmick27-Oct-06 4:22 
GeneralRe: ERROR:"SQL Server is terminating this process"?? [pls help~] Pin
Aby Thomas Varghese27-Oct-06 9:05
Aby Thomas Varghese27-Oct-06 9:05 
QuestionXML Related with SQL Pin
NICE TO MEET26-Oct-06 19:20
NICE TO MEET26-Oct-06 19:20 
QuestionDataReader vs. DataSet Pin
MrRedLion26-Oct-06 10:26
MrRedLion26-Oct-06 10:26 
AnswerRe: DataReader vs. DataSet Pin
Eric Dahlvang26-Oct-06 11:19
Eric Dahlvang26-Oct-06 11:19 
GeneralRe: DataReader vs. DataSet Pin
MrRedLion26-Oct-06 19:03
MrRedLion26-Oct-06 19:03 
GeneralRe: DataReader vs. DataSet Pin
Colin Angus Mackay27-Oct-06 1:10
Colin Angus Mackay27-Oct-06 1:10 
GeneralRe: DataReader vs. DataSet Pin
MrRedLion27-Oct-06 1:43
MrRedLion27-Oct-06 1:43 
Questionhow to use sql to read the arabic languag Pin
ashraf hakiem25-Oct-06 21:36
ashraf hakiem25-Oct-06 21:36 
AnswerRe: how to use sql to read the arabic languag Pin
MrRedLion26-Oct-06 10:39
MrRedLion26-Oct-06 10:39 
Questiondifference between delete, truncate and drop in sql server Pin
NICE TO MEET25-Oct-06 21:10
NICE TO MEET25-Oct-06 21:10 
AnswerRe: difference between delete, truncate and drop in sql server Pin
Colin Angus Mackay25-Oct-06 23:15
Colin Angus Mackay25-Oct-06 23:15 
GeneralRe: difference between delete, truncate and drop in sql server Pin
Paddy Boyd27-Oct-06 3:58
Paddy Boyd27-Oct-06 3:58 
GeneralRe: difference between delete, truncate and drop in sql server Pin
Colin Angus Mackay27-Oct-06 6:28
Colin Angus Mackay27-Oct-06 6:28 
GeneralRe: difference between delete, truncate and drop in sql server Pin
Paddy Boyd27-Oct-06 6:31
Paddy Boyd27-Oct-06 6:31 
QuestionReturning more than one value from a stored procedure? [modified] Pin
Belfast Child25-Oct-06 1:36
Belfast Child25-Oct-06 1:36 
AnswerRe: Returning more than one value from a stored procedure? Pin
Belfast Child25-Oct-06 2:14
Belfast Child25-Oct-06 2:14 

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.