Viewing 15 posts - 4,051 through 4,065 (of 7,484 total)
ChrisM@home (10/14/2012)
Jeff Moden (10/12/2012)
Cadavre (10/12/2012)
If you insist on doing it in the database layer, it can be achieved like this:
Check again. OP's desired output doesn't actually have a comma...
October 14, 2012 at 7:50 am
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)...
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
...
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',...
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...
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...
October 13, 2012 at 1:20 pm
ronmoses (10/12/2012)
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...
October 10, 2012 at 10:29 am
kent_secher (10/9/2012)
L' Eomot Inversé (10/8/2012)
kent_secher (10/8/2012)
October 9, 2012 at 4:23 am
Viewing 15 posts - 4,051 through 4,065 (of 7,484 total)