Click here to Skip to main content
15,911,531 members
Home / Discussions / Database
   

Database

 
QuestionHow ca i remove spaces in my database ? Pin
Bravoone_200625-Sep-06 21:09
Bravoone_200625-Sep-06 21:09 
QuestionIdentity reset Pin
FireOnMoon25-Sep-06 18:35
FireOnMoon25-Sep-06 18:35 
AnswerRe: Identity reset Pin
_AK_25-Sep-06 22:37
_AK_25-Sep-06 22:37 
AnswerRe: Identity reset Pin
Colin Angus Mackay26-Sep-06 0:57
Colin Angus Mackay26-Sep-06 0:57 
QuestionComplicate SQL question...?? anyone know? urgent~~ Pin
campbells25-Sep-06 17:33
campbells25-Sep-06 17:33 
AnswerRe: Complicate SQL question...?? anyone know? urgent~~ Pin
Michael Potter26-Sep-06 5:24
Michael Potter26-Sep-06 5:24 
GeneralRe: Complicate SQL question...?? anyone know? urgent~~ Pin
Michael Potter27-Sep-06 3:14
Michael Potter27-Sep-06 3:14 
AnswerRe: Complicate SQL question...?? anyone know? urgent~~ Pin
ednrgc19-Oct-06 6:29
ednrgc19-Oct-06 6:29 
You can try something like this:

DECLARE @TempTotal int

SELECT @TempTotal=sum(ti.totalsales) from ti

select d.deptdesc,v.[name],ti.deptcode ,(sum(ti.totalsales)/@TempTotal) as Total
from
tot_item ti,
dept d,
item i,
vendor v
where
ti.itemcode=i.itemcode and
v.vendorid=i.vendorid and
ti.deptcode=d.deptcode
group by v.[name], ti.deptcode, d.deptdesc
ORDER BY v.[name], ti.deptcode ASC
QuestionOOD and Databases... Pin
Shy Agam25-Sep-06 3:39
Shy Agam25-Sep-06 3:39 
AnswerRe: OOD and Databases... Pin
Paddy Boyd25-Sep-06 4:10
Paddy Boyd25-Sep-06 4:10 
QuestionCheck referential integrity in SQL 2005 Pin
Vipul Mehta25-Sep-06 1:20
Vipul Mehta25-Sep-06 1:20 
AnswerRe: Check referential integrity in SQL 2005 Pin
M LN Rao25-Sep-06 2:35
M LN Rao25-Sep-06 2:35 
QuestionDatabase question. very urgent [modified] Pin
riyasath24-Sep-06 16:12
riyasath24-Sep-06 16:12 
AnswerWord of advice... Pin
leckey24-Sep-06 18:37
leckey24-Sep-06 18:37 
AnswerRe: Database question. very urgent Pin
alexisxavior24-Sep-06 19:36
alexisxavior24-Sep-06 19:36 
GeneralRe: Database question. very urgent Pin
riyasath24-Sep-06 20:39
riyasath24-Sep-06 20:39 
AnswerRe: Database question. very urgent Pin
Mike Dimmick25-Sep-06 0:19
Mike Dimmick25-Sep-06 0:19 
GeneralRe: Database question. very urgent Pin
riyasath25-Sep-06 16:41
riyasath25-Sep-06 16:41 
QuestionAutomating cross-table record(s) transferring Pin
iskaza24-Sep-06 10:18
iskaza24-Sep-06 10:18 
AnswerRe: Automating cross-table record(s) transferring Pin
Rob Graham24-Sep-06 11:15
Rob Graham24-Sep-06 11:15 
GeneralRe: Automating cross-table record(s) transferring Pin
iskaza24-Sep-06 11:47
iskaza24-Sep-06 11:47 
QuestionAutomating cross-table record(s) transferring(FollowUp) [modified] Pin
iskaza24-Sep-06 13:19
iskaza24-Sep-06 13:19 
QuestionADO Recordsets in VC++ Pin
eusto24-Sep-06 5:09
eusto24-Sep-06 5:09 
AnswerRe: ADO Recordsets in VC++ Pin
vicky0000026-Sep-06 0:36
vicky0000026-Sep-06 0:36 
Questionfinding sql servers on a network Pin
steve_rm24-Sep-06 3:17
steve_rm24-Sep-06 3:17 

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.