Click here to Skip to main content
15,893,487 members
Home / Discussions / Database
   

Database

 
AnswerRe: conversion from access to oracle-select ? Pin
Wendelius21-Jan-09 22:39
mentorWendelius21-Jan-09 22:39 
QuestionIIf In SQL Compact Edition 3.5 Pin
VinothRao21-Jan-09 20:54
VinothRao21-Jan-09 20:54 
AnswerRe: IIf In SQL Compact Edition 3.5 Pin
Ashfield21-Jan-09 20:59
Ashfield21-Jan-09 20:59 
GeneralRe: IIf In SQL Compact Edition 3.5 Pin
VinothRao21-Jan-09 21:17
VinothRao21-Jan-09 21:17 
GeneralRe: IIf In SQL Compact Edition 3.5 Pin
Ashfield21-Jan-09 22:56
Ashfield21-Jan-09 22:56 
QuestionSql Script to Pull Records Based on Specific Date within A Year Pin
dboy22121-Jan-09 3:10
dboy22121-Jan-09 3:10 
AnswerRe: Sql Script to Pull Records Based on Specific Date within A Year Pin
dboy22121-Jan-09 3:26
dboy22121-Jan-09 3:26 
Questionquery optimization Pin
Uma Kameswari21-Jan-09 1:05
Uma Kameswari21-Jan-09 1:05 
I have to use aggregate function sum() on a table having more than 4 millions of records. It is a history table. Are there any tips to be followed. the queries are a follows

SELECT @TransferIn = isnull(sum(abs(trxqty)),0) 
FROM iv30300 WHERE doctype = 3 and itemnmbr = @itemnmbr 
and trnstloc = @route and docdate between @FromDate and @ToDate
				
SELECT @TransferOut = isnull(sum(abs(trxqty)),0) 
FROM iv30300 WHERE doctype = 3 and itemnmbr = @itemnmbr 
and trxloctn = @route and docdate between @FromDate and @ToDate 
				
SELECT @Sales = isnull(sum(abs(trxqty)),0) 
FROM iv30300 WHERE doctype=6 and itemnmbr = @itemnmbr and 
trxloctn = @route


In the above query @route,@FromDate and @ToDate are user inputs
GeneralRe: query optimization Pin
Senthil_M21-Jan-09 1:20
Senthil_M21-Jan-09 1:20 
GeneralRe: query optimization Pin
Uma Kameswari21-Jan-09 2:44
Uma Kameswari21-Jan-09 2:44 
GeneralRe: query optimization Pin
J4amieC21-Jan-09 4:28
J4amieC21-Jan-09 4:28 
GeneralRe: query optimization Pin
Wendelius21-Jan-09 4:57
mentorWendelius21-Jan-09 4:57 
QuestionTransfering Database? Pin
Karthick_gc20-Jan-09 23:58
Karthick_gc20-Jan-09 23:58 
AnswerRe: Transfering Database? Pin
perle121-Jan-09 0:18
perle121-Jan-09 0:18 
AnswerRe: Transfering Database? Pin
Reza Raad21-Jan-09 0:19
Reza Raad21-Jan-09 0:19 
AnswerRe: Transfering Database? Pin
Senthil_M21-Jan-09 1:14
Senthil_M21-Jan-09 1:14 
GeneralRe: Transfering Database? Pin
Karthick_gc28-Jan-09 19:49
Karthick_gc28-Jan-09 19:49 
GeneralRe: Transfering Database? Pin
Senthil_M28-Jan-09 20:33
Senthil_M28-Jan-09 20:33 
Questionselect problem Pin
mahmoudinirat20-Jan-09 21:39
mahmoudinirat20-Jan-09 21:39 
AnswerRe: select problem Pin
Blue_Boy20-Jan-09 22:07
Blue_Boy20-Jan-09 22:07 
GeneralRe: select problem Pin
Senthil_M21-Jan-09 1:11
Senthil_M21-Jan-09 1:11 
QuestionTSQL Error on the Following Statement Pin
Vimalsoft(Pty) Ltd20-Jan-09 20:54
professionalVimalsoft(Pty) Ltd20-Jan-09 20:54 
AnswerRe: TSQL Error on the Following Statement Pin
Ashfield21-Jan-09 0:37
Ashfield21-Jan-09 0:37 
GeneralRe: TSQL Error on the Following Statement Pin
Vimalsoft(Pty) Ltd21-Jan-09 21:46
professionalVimalsoft(Pty) Ltd21-Jan-09 21:46 
GeneralRe: TSQL Error on the Following Statement Pin
Ashfield22-Jan-09 1:13
Ashfield22-Jan-09 1: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.