Viewing 15 posts - 4,051 through 4,065 (of 7,483 total)
CELKO (10/12/2012)
SELECT student_id
FROM Gradebook
GROUP BY student_id
HAVING (MIN(course_1)= MAX(course_1) AND MIN(course_1) = 'fail')
OR (MIN(course_2)= MAX(course_2) AND MIN(course_2)...
Tom
October 14, 2012 at 7:40 am
Eskandari (10/10/2012)
CREATE TABLE Test ( field_one nvarchar(10) );
DECLARE @i int;
WHILE @i<= 1000
BEGIN
...
Tom
October 13, 2012 at 7:42 pm
Don. (10/13/2012)
INSERT INTO #HISTORY (ACCOUNTNO, LASTUSER, LASTDATE, RECID)
SELECT 'C1', 'JOE', '20120101', 'HR1' UNION ALL
SELECT 'C1', 'BOB', '20120101', 'HR2' UNION ALL
SELECT 'C1', 'JOE', '20120201', 'HR3' UNION ALL
SELECT 'C2', 'JOE', '20120202',...
Tom
October 13, 2012 at 7:19 pm
If I've understood correctly what is wanted, it could be
select h.*, c.*
from Contact c
inner join (
select top...
Tom
October 13, 2012 at 2:10 pm
Gopi S (10/13/2012)
In the expression [price * 1.1], SQL Server tries to implicit convert price into numeric(2,1) because 1.1 is type numeric(2,1) which has higher precedence than nvarchar. I...
Tom
October 13, 2012 at 1:20 pm
ronmoses (10/12/2012)
Tom
October 12, 2012 at 9:16 am
SQLRNNR (10/10/2012)
Stefan Krzywicki (10/10/2012)
SQLRNNR (10/10/2012)
Stefan Krzywicki (10/10/2012)
GilaMonster (10/10/2012)
jasona.work (10/10/2012)
Brandie Tarvin (10/10/2012)
Yeesh. Steve, Why do we...
Tom
October 10, 2012 at 10:29 am
kent_secher (10/9/2012)
L' Eomot Inversé (10/8/2012)
kent_secher (10/8/2012)
Tom
October 9, 2012 at 4:23 am
Hugo Kornelis (10/8/2012)
Tom
October 8, 2012 at 6:07 am
Viewing 15 posts - 4,051 through 4,065 (of 7,483 total)