Viewing 15 posts - 16 through 30 (of 30 total)
I'm not familiar with CONTEXT_INFO. I'll try it out. Thanks
Florian Reischl (3/28/2009)
Within your DELETE trigger:
-- ...
BEGIN TRANSACTION
SET CONTEXT_INFO 0x01
-- do...
March 30, 2009 at 9:29 am
The table is a status table with a begin and end date. Only one status can be the current status and is identified by a null in the end...
March 30, 2009 at 9:28 am
That's great. Thank you very much. I always seem to have trouble getting my head around recursive queries.
John
July 30, 2008 at 10:25 am
My favorite quote regrading any job:
"Your hard skills will get you hired, but your lack of soft skills will get you fired." I think that good soft skills will...
June 23, 2008 at 9:15 am
It's not that it doesn't apply. For instance, if I enter a customer record, but don't know the birthdate, I leave it blank. It has to be null or there...
February 27, 2007 at 3:33 pm
That might be OK depending on the field. It wouldn't work for birthdays (in our application - at least for a whiile) for instance.
February 27, 2007 at 2:29 pm
One approach is to create a date table (or table variable) and do a join against it. I have used a table valued function to create a table variable with the...
February 27, 2007 at 8:14 am
Great idea! I had originally created a function that, given a date range, would create a table variable with the begin and end dates of every month in the range. ...
February 21, 2007 at 2:43 pm
Thanks for the reply. In your example though, the second insert statement starts on 2/16/2006 which means that month 2, year 2006 should have a count of 1. That's why...
February 21, 2007 at 2:40 pm
We look for names of people (last first). We never use the leading %, only the trailing %. So an index is very useful. I just wonder if using a varchar instead...
October 21, 2005 at 4:09 pm
Good article. I have a question about the comment not to index free form text fields, though. Does this mean not to index a name field at all (a concept...
October 21, 2005 at 8:10 am
Thanks for the reply. I'll try it.
John
quote:
It would help to know the table structure to see if anything else can a...
March 13, 2003 at 12:43 pm
Viewing 15 posts - 16 through 30 (of 30 total)