Viewing 15 posts - 511 through 525 (of 620 total)
Mike Levan (11/9/2007)
its a hard coding...jobname,jobrole will be same for all the rows in emp
Does this have anything to do with your tableA-tableB thing? If *all* emp records in...
November 9, 2007 at 8:50 am
Greg Snidow (11/9/2007)
Mike Levan (11/9/2007)
I dont have any link to the table to update, can i update by querying where field='' something like tht?
This should do what you want
UPDATE tableA
...
November 9, 2007 at 8:46 am
Mike Levan (11/9/2007)
I dont have any link to the table to update, can i update by querying where field='' something like tht?
This should do what you want
UPDATE tableA
...
November 9, 2007 at 8:42 am
Greetings. I had a similar situation recently where I was having mail sent through a trigger. I posted here, and the consensus was that sending mail within a...
November 9, 2007 at 8:23 am
Christine M (11/8/2007)
SELECT IsNull(q1.ProdGroup, q2.ProdGroup) as NameofProdGroup,
ProdCodePROD,
ProdCodeANL
FROM (
select ProdGroup,
count(ProdCode) as ProdCodePROD
from smcscalc..ERVProdGrp_ProdCode
where ProcessDate <'12/20/07'
group by ProdGroup
) As q1
FULL OUTER JOIN (
select ProdGroup,
count(ProdCode) as ProdCodeANL
from smcscalcanalysis..ERVProdGrp_ProdCode
where...
November 8, 2007 at 9:56 am
Greg Snidow (11/8/2007)
Greg Snidow (11/8/2007)
November 8, 2007 at 6:52 am
Greg Snidow (11/8/2007)
November 8, 2007 at 6:46 am
Jeff Moden (11/7/2007)
November 8, 2007 at 6:44 am
Greg Snidow (11/7/2007)
November 7, 2007 at 6:33 pm
Jeff Moden (11/7/2007)
November 7, 2007 at 6:27 pm
karthikeyan (11/7/2007)
Gila,Suppose if i have a big table how should i avoid <> operator ?
Just curious, but what is the difference between <> and NOT IN?
November 7, 2007 at 4:20 pm
brendt hess (11/7/2007)
Must remember to post my code in a quoted block, so that formatting is retained.
I sure as heck can not figure out how to do that. When...
November 7, 2007 at 3:42 pm
Not sure exatly what you are looking for, but you can try this to start
SELECT
c.ProdGroup,
c.CalcCountProdCode,
...
November 7, 2007 at 3:38 pm
Ok, I just realized you wanted a column to show the sum of the students marks in all subjects, not the sum of all marks of all students in each...
October 31, 2007 at 9:35 am
Something like this ought to work for you.
IF OBJECT_ID('TempDB..#Marks','u') IS NOT NULL
DROP TABLE #Marks
GO
CREATE TABLE #Marks
(
Stu_ID INT,
Sub_Name VARCHAR(30),
Marks INT
)
INSERT INTO #Marks
SELECT '1','MTH','90' UNION ALL
SELECT...
October 31, 2007 at 9:28 am
Viewing 15 posts - 511 through 525 (of 620 total)