Viewing 7 posts - 1 through 7 (of 7 total)
I think one problem one can have with this solution is Excel's limit of 65,535 records.
November 14, 2007 at 10:04 am
this is very useful, however i would like to adapt it to a subquery. shown below with bad syntax. any hints? thanks
SELECT
[HQID]
, ID
, [Description]
,[ItemLookupCode]
,[SupplierID]
,(select Suppliername from Supplier s where s.ID...
November 6, 2007 at 2:54 pm
Well the if/then or Case method is fine.
I was just curious about the EXISTS() function. Aparrently the ways in which you can use it are limited by sql syntax....
October 2, 2007 at 2:11 pm
Michael Earl (9/27/2007)
September 27, 2007 at 11:55 am
/*
almost! although that IS brilliant code. i can say that because i don't understand it 😉
I believe I have not defined the challenge clearly enough. let me retrace the steps:
*/
--the...
September 26, 2007 at 8:48 am
Garsh, spoke too soon. Back to the drawing board...
September 25, 2007 at 2:09 pm
--add a couple more test records
insert into sbssm.eventsegment (StartTime, EndTime, Activity_ID, Location_code) values
('2007-09-24 15:00','2007-09-24 16:00',2,'PL3')
insert into sbssm.eventsegment (StartTime, EndTime, Activity_ID, Location_code) values
('2007-09-24 18:00','2007-09-24 19:00',2,'PL')
GO
-- EUREKA! this seems to do the...
September 25, 2007 at 1:45 pm
Viewing 7 posts - 1 through 7 (of 7 total)