Viewing 15 posts - 106 through 120 (of 167 total)
Thanks, Gail. Coming from you, I can take it to the bank that there is no practical reason to need to see the contents of a non-clustered index therefore...
September 20, 2012 at 7:51 am
set @SqlString3 = N'
left join ClientProgram cpgm on cpgm.EnrollmentKey = ClientEnrollment.ID
and '''+convert(char,@ThruDate,101)+''' between
isnull(cpgm.effectivedate,'''+convert(char,@FromDate,101)+''') and
isnull(cpgm.expirationdate,'''+convert(char,@ThruDate,101)+''')
left join Program pgm on pgm.id = cpgm.ProgramKey
left join Program spgm on spgm.id = cpgm.SubProgramKey
where dbo.ClientEnrollment.Void is...
August 22, 2012 at 9:59 am
-- create a temporary stored procedure
create procedure #sp_TempReportMaster AS
create table #iFromDate (iFromDate DateTime)
insert into #iFromDate values ('JAN 1 2012')
create table #iThruDate (iThruDate DateTime)
insert into #iThruDate ...
August 22, 2012 at 8:12 am
Thanks, Craig. Actually, I wasn’t shooting for the highest value as much as expecting it because of the sequence in which I entered them. I was troubleshooting a...
August 16, 2012 at 2:51 pm
I believe you gentlemen covered it and I thank you. Given that you cannot use an ORDER BY in an update, it sounds like I’m going to end up...
August 16, 2012 at 2:40 pm
In the mid 90s I was stuck in a support position and desperate to join the deities (C programmers) on our team. I threw myself into learning C but...
August 15, 2012 at 2:10 pm
When you are interviewing, be prepared to articulate precisely why you chose this specific career path. People who succeed over the long haul are the ones that do things...
August 9, 2012 at 4:01 pm
Turns out, "relation" = "table". Had to get a computer science book from the 70s, when the concept was new, in order to get that definition in plain English. Otherwise,...
August 9, 2012 at 3:32 pm
I'm not sure that is an accurate way to frame it. For those of you out there considering it, why not start your own business and work for yourself? It...
July 26, 2012 at 9:11 am
The last 10 years of my work life have been far and away the most rewarding and the last three in particular have been almost too good to be true....
July 25, 2012 at 4:41 pm
It is a third party package overwhich I had no control but even if I did, I didn't know that the xml datatype was capable of that type of constraint....
July 25, 2012 at 2:37 pm
XMLSQLNinja, thank for your time and alternative approach. I'm afraid that the garbage in my data is not well formed and this method stumbles as a result as does...
July 25, 2012 at 1:44 pm
Hi Phil
I tested the UDF and it works great. But I am having a tough time wrapping my brain around or uncovering what is going on here. ...
July 17, 2012 at 1:30 pm
Thanks much, Phil for both the code and the link.
I was leaning toward CLR but this is a third party database and makes me a bit nervous. ...
July 17, 2012 at 7:18 am
Only in the query. I don't want to update the table.
July 17, 2012 at 6:18 am
Viewing 15 posts - 106 through 120 (of 167 total)